
Well... there seems a bug in setuptools. In commands/sdist.py
There is a variable log accesed in Line 98: file "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line=98, in the method entries_finder log.warn("unrecognized .svn/entries format in %s", dirname) NameError: global name 'log' is not defined
SO at the top of the file please use :
from distutils import log
-- command/sdist.py 2008-10-20 16:02:09.000000000 +0530 +++ sdist_old.py 2008-10-20 16:03:45.000000000 +0530 @@ -1,6 +1,5 @@ from distutils.command.sdist import sdist as _sdist from distutils.util import convert_path =2Dfrom distutils import log import os, re, sys, pkg_resources

You're using 0.6c8 or older; upgrade to 0.6c9.
At 05:09 AM 10/29/2008 +0530, Piyush Verma wrote:
Well... there seems a bug in setuptools. In commands/sdist.py
There is a variable log accesed in Line 98: file "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line=98, in the method entries_finder log.warn("unrecognized .svn/entries format in %s", dirname) NameError: global name 'log' is not defined
SO at the top of the file please use :
from distutils import log
-- command/sdist.py 2008-10-20 16:02:09.000000000 +0530 +++ sdist_old.py 2008-10-20 16:03:45.000000000 +0530 @@ -1,6 +1,5 @@ from distutils.command.sdist import sdist as _sdist from distutils.util import convert_path =2Dfrom distutils import log import os, re, sys, pkg_resources _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
participants (2)
-
Phillip J. Eby
-
Piyush Verma