ReleaseEngineering/PuppetAgain/Python

From MozillaWiki
Jump to navigation Jump to search

The python module uses access to python packages.

In general, these are just downloads from pypi. However, a few packages are special - see below. It also has a copy of 'virtualenv.py' that's used to install new virtualenvs.

These packages are at

http://repos/python/packages

and can also be sourced at

http:///python/packages

in file resources.

Special Cases

Some virtualenvs need to be installed on systems without compilers. In particular, Talos systems don't have compilers or development libraries installed. For these cases, we install packages that can fall back to a pure-python implementation when the compile fails. Sadly, there's not much documentation about how this was done way-back-when, but the Twisted tarball was opened up, and two 'setup.py` files were edited to remove the extensions, then it was re-tarred and placed in this directory. Newer Twisteds may not need this treatment.