[Distutils] NameError: global name 'log' is not defined
Michael Schmarck
michael.schmarck at habmalnefrage.de
Mon Sep 8 10:30:18 CEST 2008
Hello.
2008/9/6 Marius Gedminas <marius at pov.lt>:
> Downgrade subversion to 1.4 (or remove it altogether), upgrade
> setuptools, upgrade subversion back to 1.5?
Okay.
I removed Subversion 1.5. I then only had Subversion
1.4 at some other directory.
What do you do next?
I did:
python2.5 ~/Source/ez_setup.py setuptools==dev06
This installed a setuptools-0.6c9dev_r65963-py2.5.egg to my
site-packages directory.
Now I'm trying to use setuptools:
--($ ~/Source/Trac-plugins/emoticonsplugin-0.9)-- python setup.py bdist_egg
Traceback (most recent call last):
File "setup.py", line 20, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
I also found the setuptools.pth file:
--($ ~/.software/Python-2.5.2/lib/python2.5/site-packages)-- cat setuptools.pth
./setuptools-0.6c8-py2.5.egg
Where did that file come from? Judging from the date,
it must have been a result of "python2.5 ~/Source/ez_setup.py
setuptools==dev06".
When I do
echo ./setuptools-0.6c9dev_r65963-py2.5.egg > setuptools.pth
I then can use setuptools (ie. the command "python
setup.py bdist_egg" did not return an error).
Did I do something wrong?
I put back the Svn 1.5 installation and "python setup.py
bdist_egg" still works.
Thanks,
Michael
More information about the Distutils-SIG
mailing list