hi folks.
I looked high and low for an official spot to submit setuptools
patches but just found this mailing list.  Please accept my apologies
in advance if this is inconvenient.

I found that when running setup.py commands on an svn checkout while
having just added a directory, but not committed it yet, I would get
"ValueError: max() arg is an empty sequence" from around line 227 of
egg_info.py.  This seems easily fixable by checking the length of
all_revs before handing it to max() and the patch attached solves the
problem I was having.  After applying the patch to the source, `python
setup.py test` ran ok.

thanks, Kumar

Attachment: setuptools.r52354.get_svn_revision.patch
Description: Binary data

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to