[Distutils] setuptools 0.6a8dev using non-existing shutil._build_cmdtuple function

David Handy david at handysoftware.com
Tue Nov 8 16:21:36 CET 2005


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/


More information about the Distutils-SIG mailing list