[Distutils] easy_install: custom package indexes

Ian Bicking ianb at colorstudy.com
Wed Aug 10 20:15:40 CEST 2005


I have a custom package index that lists some Subversion repositories at 
http://pythonpaste.org/package_index.html ; I'm just looking for a 
little feedback on best practices.  For instance, here is a link:

http://svn.colorstudy.com/trunk/SQLObject#egg=SQLObject

(note that there's a small bug in setuptools that'll keep these from 
working at the moment, but putting that aside...)

Should that look like #egg=SQLObject-DEV ?  Or something else?  I think 
that tag will get ignored later in the process; should I modify setup.py 
(or setup.cfg) in some way to install the subversion checkout with an 
appropriate version number?

If that package_index.html is added with --find-links (or added to 
~/.pydistutils.cfg or elsewhere) then the subversion version will always 
be installed when no version is given in the package specifier 
("easy_install.py SQLObject").  I don't know if that's right.  I could 
change the PyPI entry and put the subversion repository there, and then 
I think the most up-to-date stable version is more likely to be 
installed (unless they do "easy_install.py SQLObject==DEV"?).  But I 
don't control the PyPI entries for some of these projects.

-- 
Ian Bicking  /  ianb at colorstudy.com  /  http://blog.ianbicking.org


More information about the Distutils-SIG mailing list