Distributing Python virtual environments

Dan Stromberg drsalists at gmail.com
Thu Mar 29 21:06:45 EDT 2018


On Thu, Mar 29, 2018 at 7:06 AM, Malcolm Greene <python at bdurham.com> wrote:
> 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? The
> reason we would go this route vs downloading dependencies from a
> requirements.txt file is that the target machines may be in a private
> subnet with minimal access to the internet.

Some folks choose to set up their own pypi mirror for this kind of situation.

More info: https://stackoverflow.com/questions/557462/how-do-i-use-easy-install-and-buildout-when-pypi-is-down



More information about the Python-list mailing list