setuptools 0.6a8dev using non-existing shutil._build_cmdtuple function
I got the following stack trace after installing setuptools 0.6a8dev and running "python setup.py install --home=%HOME%" on my project: Traceback (most recent call last): File "setup.py", line 42, in ? main() File "setup.py", line 37, in main license = "Internal Use Only", File "C:\Python24\lib\distutils\core.py", line 149, in setup dist.run_commands() File "C:\Python24\lib\distutils\dist.py", line 946, in run_commands self.run_command(cmd) File "C:\Python24\lib\distutils\dist.py", line 966, in run_command cmd_obj.run() File "c:\python24\lib\site-packages\setuptools-0.6a8dev_r41396-py2.4.egg\setuptools\command\install.py", line 50, in run cmd.run() File "c:\python24\lib\site-packages\setuptools-0.6a8dev_r41396-py2.4.egg\setuptools\command\easy_install.py", line 230, in run self.easy_install(spec, not self.no_deps) File "c:\python24\lib\site-packages\setuptools-0.6a8dev_r41396-py2.4.egg\setuptools\command\easy_install.py", line 321, in easy_install smart_rmtree(tmpdir) File "c:\python24\lib\site-packages\setuptools-0.6a8dev_r41396-py2.4.egg\setuptools\command\easy_install.py", line 1193, in smart_rmtree shutil._build_cmdtuple(path, cmdtuples) AttributeError: 'module' object has no attribute '_build_cmdtuple' -- David Handy Computer Programming is Fun! Beginning Computer Programming with Python http://www.handysoftware.com/cpif/
At 10:21 AM 11/8/2005 -0500, David Handy wrote:
I got the following stack trace after installing setuptools 0.6a8dev and running "python setup.py install --home=%HOME%" on my project:
I found this problem a few days ago; update to 0.6a8dev-r41402 to get the fix. (The problem was that I was relying on shutil internals that changed in Python 2.4.)
participants (2)
-
David Handy
-
Phillip J. Eby