Package: python-setuptools Version: 0.6c8-3 Severity: serious The symptom: x2:~/src/a11y/freedots% python setup.py sdist running sdist running egg_info writing requirements to freedots.egg-info/requires.txt writing freedots.egg-info/PKG-INFO writing top-level names to freedots.egg-info/top_level.txt writing dependency_links to freedots.egg-info/dependency_links.txt writing entry points to freedots.egg-info/entry_points.txt Traceback (most recent call last): File "setup.py", line 84, in <module> keywords = "braille, music notation, musicxml, midi, gtk" File "/usr/lib/python2.5/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands self.run_command(cmd) File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 141, in run self.run_command('egg_info') File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line 171, in run self.find_sources() File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line 252, in find_sources mm.run() File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line 306, in run self.add_defaults() File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line 333, in add_defaults rcfiles = list(walk_revctrl()) File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 45, in walk_revctrl for item in ep.load()(dirname): File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 52, in _default_revctrl for path in finder(dirname,path): File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 98, in entries_finder log.warn("unrecognized .svn/entries format in %s", dirname) NameError: global name 'log' is not defined zsh: exit 1 python setup.py sdist
The code in /usr/lib/python2.5/site-packages/setuptools/command/sdist.py is as follows: def entries_finder(dirname, filename): f = open(filename,'rU') data = f.read() f.close() if data.startswith('8'): # subversion 1.4 for record in map(str.splitlines, data.split('\n\x0c\n')[1:]): if not record or len(record)>=6 and record[5]=="delete": continue # skip deleted yield joinpath(dirname, record[0]) elif data.startswith('<?xml'): for match in entries_pattern.finditer(data): yield joinpath(dirname,unescape(match.group(1))) else: log.warn("unrecognized .svn/entries format in %s", dirname) But my .svn/entries files start with '9' as the first character because I am using subversion 1.5 (which is packaged). It follows that this version of python-setuptools is not compatible with subversion 1.5, breaking my setup.py files because I upgraded to subversion 1.5. As it stands, setuptools is not pretty unusable on my system. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-setuptools depends on: ii python 2.5.2-1 An interactive high-level object-o ii python-central 0.6.7 register and build utility for Pyt ii python-pkg-resources 0.6c8-3 Package Discovery and Resource Acc python-setuptools recommends no packages. -- no debconf information -- CYa, ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/> .''`. | Get my public key via finger mlang/[EMAIL PROTECTED] : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44 `. `' `- <URL:http://delysid.org/> <URL:http://www.staff.tugraz.at/mlang/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]