GithubHelp home page GithubHelp logo

yamaton / condax Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mariusvniekerk/condax

4.0 4.0 0.0 829 KB

Install and run applications packaged with conda in isolated environments

Home Page: https://tritonlab.io/condax/

License: MIT License

Python 99.29% Dockerfile 0.17% Xonsh 0.54%

condax's People

Contributors

abrahammurciano avatar cswartzvi avatar jtilly avatar mariusvniekerk avatar xhochy avatar yamaton avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

condax's Issues

--inject flag

I thought it would also be a good idea to have an --inject flag for install, e.g.

$ condax install foo --inject python=3.8 --inject bar

which would install foo as a primary package with py3.4 and bar in that same environment.

This would be a shorthand for

$ condax install foo
$ condax inject --name foo python=3.8
$ condax inject --name foo bar

Tidy up prints and logging

the og condax prints a bunch of seemingly unnecessary stuff to the screen. I'd like to instead use the python logging module to tidy up what is printed and how, as well as providing the user ways to set verbosity eg with flags -v and -q

Installed command fails to work when arguments contain special symbols

Description

After installation with condax, a command fails to work when the arguments contain special symbols.

Reproduce

$ condax install bat
$ echo foo > "(.txt"
$ bat "(.txt"
/tmp/mambafiQc6ufyQVG: line 5: syntax error near unexpected token `('
/tmp/mambafiQc6ufyQVG: line 5: `exec /home/vierbein/.local/share/condax/envs/bat/bin/bat (.txt'

Context

I suppose this problem is because "$@" in ~/.local/bin/bat (or other scripts there) does not quote arguments properly.

Remove global configurations

Global configurations can be avoided by passing around the necessary data as parameters, and this can be further improved by creating classes that contain the relevant data for their methods.

Format with black

This should probably be part of CI as well (either check or autoformat)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.