mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
add small section about autoenv, asked for in #97
This commit is contained in:
@@ -137,3 +137,21 @@ Other useful commands
|
||||
Shows contents of ``site-packages`` directory.
|
||||
|
||||
`Full list of virtualenvwrapper commands <http://www.doughellmann.com/docs/virtualenvwrapper/command_ref.html#managing-environments>`_.
|
||||
|
||||
autoenv
|
||||
-------
|
||||
When you ``cd`` into a directory containing a ``.env`` `autoenv <https://github.com/kennethreitz/autoenv>`_
|
||||
automagically activates the environment.
|
||||
|
||||
Install it on Mac OS X using ``brew``:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ brew install autoenv
|
||||
|
||||
And on Linux:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv
|
||||
$ echo 'source ~/.autoenv/activate.sh' >> ~/.bashrc
|
||||
|
||||
Reference in New Issue
Block a user