New submission from htgoebel :
I'm installing a development egg like this::
PYTHONPATH=.:$PYTHONPATH python setup_.py develop --install-dir . --script-dir .
Now when re-running the command above, it will fail::
File
"/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py",
line 1072, in safe_name
File "/usr/lib/python2.5/re.py", line 150, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/usr/lib/python2.5/re.py", line 230, in _compile
p = _cache.get(cachekey)
RuntimeError: maximum recursion depth exceeded in cmp
This seams to be a problem with *.egg-link. If I add these lines to teh fron tom
my setup.py, re-running is fine:
import glob, os
for fn in glob.glob('*.egg-link'):
os.remove(fn)
----------
messages: 153
nosy: htgoebel
priority: bug
status: unread
title: development egg: recusion to deep when re-running setup.py develop
_______________________________________________
Setuptools tracker
http://bugs.python.org/setuptools/issue40
_______________________________________________