[Distutils] [setuptools] svn 1.4 support

Philippe Normand philippe at fluendo.com
Wed Sep 20 17:24:27 CEST 2006


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 ;)

Philippe



More information about the Distutils-SIG mailing list