add small section about autoenv, asked for in #97
authorTomas Thor Jonsson <benregn@gmail.com>
Mon, 23 Apr 2012 17:38:43 +0000 (19:38 +0200)
committerTomas Thor Jonsson <benregn@gmail.com>
Mon, 23 Apr 2012 17:38:43 +0000 (19:38 +0200)
docs/dev/virtualenvs.rst

index 7a35e9b..ee6ace2 100644 (file)
@@ -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