# svn co http://trac-hacks.org/svn/ticketimportplugin/0.11 ticketimportplugin
...
# cd ticketimportplugin
# python setup.py bdist_egg
running bdist_egg
running egg_info
writing TicketImport.egg-info/PKG-INFO
writing top-level names to TicketImport.egg-info/top_level.txt
writing dependency_links to TicketImport.egg-info/dependency_links.txt
writing entry points to TicketImport.egg-info/entry_points.txt
Traceback (most recent call last):
File "setup.py", line 26, in ?
entry_points={'trac.plugins': 'TicketImport = %s' % (PACKAGE)}
File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib/python2.4/site-packages/setuptools/command/bdist_egg.py", line 167, in run
self.run_command("egg_info")
File "/usr/lib64/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 171, in run
self.find_sources()
File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 252, in find_sources
mm.run()
File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 306, in run
self.add_defaults()
File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 333, in add_defaults
rcfiles = list(walk_revctrl())
File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 45, in walk_revctrl
for item in ep.load()(dirname):
File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 52, in _default_revctrl
for path in finder(dirname,path):
File "/usr/lib/python2.4/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
This is setuptools issue with subversion 1.6+.
Please update the latest of setuptools or use
svn export
instead ofsvn checkout
.