diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-08-03 14:09:31 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-08-03 14:09:31 -0500 |
commit | 23002ee77f742f3b00fbee64def0dea5de0f5e51 (patch) | |
tree | 2cb56e385eff50638a224c81076cb7f02840b6f4 /docs/source | |
parent | 2d4d24f51eb1a7a187dbfd9f077c864a309b3171 (diff) | |
download | mediagoblin-23002ee77f742f3b00fbee64def0dea5de0f5e51.tar.lz mediagoblin-23002ee77f742f3b00fbee64def0dea5de0f5e51.tar.xz mediagoblin-23002ee77f742f3b00fbee64def0dea5de0f5e51.zip |
Set up virtualenv to use py2
This commit sponsored by Jonas Öberg. Thanks Jonas!
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/siteadmin/deploying.rst | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index 9dea239f..741e9655 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -200,7 +200,7 @@ Clone the MediaGoblin repository and set up the git submodules:: And set up the in-package virtualenv:: - (virtualenv --system-site-packages . || virtualenv .) && ./bin/python setup.py develop + (virtualenv --python=python2 --system-site-packages . || virtualenv --python=python22 .) && ./bin/python setup.py develop .. note:: @@ -214,16 +214,6 @@ And set up the in-package virtualenv:: Note: this is liable to break. Use this method with caution. -.. :: - - (NOTE: Is this still relevant?) - - If you have problems here, consider trying to install virtualenv - with the ``--distribute`` or ``--no-site-packages`` options. If - your system's default Python is in the 3.x series you may need to - run ``virtualenv`` with the ``--python=python2.7`` or - ``--python=python2.6`` options. - The above provides an in-package install of ``virtualenv``. While this is counter to the conventional ``virtualenv`` configuration, it is more reliable and considerably easier to configure and illustrate. If |