diff options
| author | Paul Moore <p.f.moore@gmail.com> | 2013-03-08 16:05:17 +0000 |
|---|---|---|
| committer | Paul Moore <p.f.moore@gmail.com> | 2013-03-08 16:05:17 +0000 |
| commit | 602bdbcd34823d2973a644a4c6867922c1e9380b (patch) | |
| tree | 3e92006292015ea0ef3e7f0f66a89de57dd22635 /docs | |
| parent | 8a36309c680229114be61bb955805c6e9c782194 (diff) | |
| download | virtualenv-602bdbcd34823d2973a644a4c6867922c1e9380b.tar.gz | |
Minor changes following on from pull request 401
- Documentation updates
- Tidy up fixup_scripts
- Make the activate_this code for relocatable scripts work on Python 3
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/index.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst index c5c6c7f..3373055 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -405,6 +405,12 @@ Making Environments Relocatable Note: this option is somewhat experimental, and there are probably caveats that have not yet been identified. +.. warning:: + + The ``--relocatable`` option currently has a number of issues, + and is not guaranteed to work in all circumstances. It is possible + that the option will be deprecated in a future version of ``virtualenv``. + Normally environments are tied to a specific path. That means that you cannot move an environment around or copy it to another computer. You can fix up an environment to make it relocatable with the @@ -417,6 +423,12 @@ use relative paths, and will change all the scripts to use ``activate_this.py`` instead of using the location of the Python interpreter to select the environment. +**Note:** scripts which have been made relocatable will only work if +the virtualenv is activated, specifically the python executable from +the virtualenv must be the first one on the system PATH. Also note that +the activate scripts are not currently made relocatable by +``virtualenv --relocatable``. + **Note:** you must run this after you've installed *any* packages into the environment. If you make an environment relocatable, then install a new package, you must run ``virtualenv --relocatable`` |
