[Distutils] [setuptools] svn 1.4 support

Phillip J. Eby pje at telecommunity.com
Wed Sep 20 18:25:50 CEST 2006


At 05:24 PM 9/20/2006 +0200, Philippe Normand wrote:
>Hi,
>
>It seems that SVN 1.4 doesn't use XML anymore to store metadata
>in .svn/entries (at least). So setuptools fails to find the repository
>url for instance:
>
>  File
>"/home/test/Elisa/elisa-env/lib/python2.4/setuptools-0.6c2-py2.4.egg/setuptools/command/egg_info.py", 
>line 85, in finalize_options
>     self.vtags = self.tags()
>   File
>"/home/test/Elisa/elisa-env/lib/python2.4/setuptools-0.6c2-py2.4.egg/setuptools/command/egg_info.py", 
>line 179, in tags
>     ):  version += '-r%s' % self.get_svn_revision()
>   File
>"/home/test/Elisa/elisa-env/lib/python2.4/setuptools-0.6c2-py2.4.egg/setuptools/command/egg_info.py", 
>line 196, in get_svn_revision
>     dirurl = urlre.search(data).group(1)    # get repository URL
>AttributeError: 'NoneType' object has no attribute 'group'
>
>I was thinking setuptools was directly using the "svn" command to find
>revisions and other related informations. But i was wrong ;)

Upgrade to the 0.6c3 version in development using these steps:

     easy_install -eb. setuptools==dev06
     cd setuptools
     python2.4 setup.py install




More information about the Distutils-SIG mailing list