[Distutils] [buildout] hard coded urls considered harmful
Chris Withers
chris at simplistix.co.uk
Fri Oct 9 17:08:49 CEST 2009
Hi All,
bootstrap.py contains the following hard coded url:
exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
).read() in ez
With hindsight, this seems like a bad idea. For example, with the
ridiculous situation we currently have with setuptools and distribute.
It also means that the above url can't ever change, which is a bit of a
harsh requirement.
My suggestion would be for bootstrap.py to include the code in
ez_setup.py, but that seems a little heavyweight. I guess this will all
be solved when the standard library includes modules to download
packages from PyPI and install them. But what to do in the meantime?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the Distutils-SIG
mailing list