python - How do I make VirtualEnv use a custom version of setuptools? -


the large corporation work uses custom version of setuptools. private fork of setuptools intended deal networking , security difficulties unique our organization. bottom line neither standard setuptools nor distribute work expected on our environment.

id start using ian bicking's excellent virtualenv tool on systems, particularly in our test systems need able set large number of sandboxed areas test-code - e.g. in our continuous integration environment.

unfortunately time try build new virtual environment virtualenv tool tries obtain , install latest official version of setuptools. fail reason stated above, , because corporate firewall block action.

instead of installing official version:

setuptools-0.6c11-py2.4.egg 

i'd install our customized version might called like:

setuptools-foo-0.6c11-py2.4.egg 

this egg can guaranteed found in system's global site-packages. can guarantee it's present in of our corporate egg servers.

can me make virtualenv use customized setuptools instead of regular version of setuptools.

the name hardcoded in virtualenv.py. have either patch virtualenv.py or name patched setuptools egg 'setuptools-0.6c11-py2.4.egg'


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -