Distributing Python virtual environments

dieter dieter at handshake.de
Fri Mar 30 01:50:41 EDT 2018


Malcolm Greene <python at bdurham.com> writes:

> We're using virtual environments with Python 3.6. Since all our pip
> installed modules are in our environment's local site-packages folder,
> is the distribution of a virtual environment as simple as recursively
> zipping the environment's root folder and distributing that archive to
> another machine running the same OS and same version of Python?

This may not be sufficient: at least the "bin/activate" contains
an absolute path; this implies that it cannot be relocated.




More information about the Python-list mailing list