Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    pyquickenv 12.09

    Download button

    No screenshots available
    Downloads: 179  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Paul Bailey | More programs
    BSD License / FREE
    September 23rd, 2012, 15:32 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    pyquickenv description

    A command-line tool to start Python virtual environments faster and easier

    pyquickenv is a command-line tool to start Python virtual environments faster and easier.

    Installation:

    pip install pyquickenv

    or

    git clone https://github.com/pizzapanther/Python-Quick-Env.git
    cd Python-Quick-Env
    sudo python setup.py install


    Now, define your environments in ~/.pyenv.json:

    {                                                                                                                                           
      "proj1": {"env": "/home/user/ENVs/project1", "cd": "/home/user/git/project1"},
      "proj2": {"env": "/home/user/ENVs/project2", "cd": "/home/user/git/project2"}
    }


    ***Note, the "cd" attribute is optional***

    Next, add the following to your .bashrc:

    pyenv() { eval $(pyquickenv "$@") }

    Usage:

    pyenv proj1

    The command above executes:

    1. source /home/user/ENVs/project1/bin/activate
    2. cd /home/user/git/project2


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    Python virtual environments | Python library | Python | virtual | environments

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM