[PEAK] setuptools dependencies installed from os packages

alexander smishlajev alex at ank-sia.com
Tue Dec 20 11:30:12 EST 2005


Phillip J. Eby wrote, at 20.12.2005 18:24:
> 
> Okay, I've checked in some changes that should fix the entry points 
> problem and the warning about 'include_package_data'.  Would you try the 
> above again and let me know if it works?  Thanks.

E:\Python24\Scripts>python ez_setup.py setuptools==dev
Searching for setuptools==dev
Reading http://www.python.org/pypi/setuptools/
Reading http://peak.telecommunity.com/DevCenter/setuptools
Best match: setuptools dev
Downloading 
http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setuptools-dev
Doing subversion checkout from 
http://svn.python.org/projects/sandbox/trunk/setuptools/ to 
e:\winnt\temp\easy_install-9i9c5a\setuptools
Processing setuptools
Running setup.py -q bdist_egg --dist-dir 
e:\winnt\temp\easy_install-9i9c5a\setuptools\egg-dist-tmp-p9qirp
Traceback (most recent call last):
   File "ez_setup.py", line 214, in ?
     main(sys.argv[1:])
   File "ez_setup.py", line 172, in main
     main(argv)
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py", 
line 1180, in main
     setup(script_args = ['-q','easy_install', '-v']+argv, **kw)
   File "E:\Python24\lib\distutils\core.py", line 149, in setup
     dist.run_commands()
   File "E:\Python24\lib\distutils\dist.py", line 946, in run_commands
     self.run_command(cmd)
   File "E:\Python24\lib\distutils\dist.py", line 966, in run_command
     cmd_obj.run()
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py", 
line 230, in run
     self.easy_install(spec, not self.no_deps)
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py", 
line 317, in easy_install
     return self.install_item(spec, download, tmpdir, deps)
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py", 
line 338, in install_item
     dists = self.install_eggs(spec, download, tmpdir)
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py", 
line 573, in install_eggs
     return self.build_and_install(setup_script, setup_base)
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py", 
line 848, in build_and_install
     self.run_setup(setup_script, setup_base, args)
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py", 
line 837, in run_setup
     run_setup(setup_script, args)
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\sandbox.py", 
line 26, in run_setup
     DirectorySandbox(setup_dir).run(
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\sandbox.py", 
line 63, in run
     return func()
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\sandbox.py", 
line 29, in <lambda>
     {'__file__':setup_script, '__name__':'__main__'}
   File "setup.py", line 94, in ?
   File "E:\Python24\lib\distutils\core.py", line 149, in setup
     dist.run_commands()
   File "E:\Python24\lib\distutils\dist.py", line 946, in run_commands
     self.run_command(cmd)
   File "E:\Python24\lib\distutils\dist.py", line 966, in run_command
     cmd_obj.run()
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\comm
and\bdist_egg.py", line 174, in run
     cmd = self.call_command('install_lib', warn_dir=0)
   File 
"e:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\comm
and\bdist_egg.py", line 161, in call_command
     self.run_command(cmdname)
   File "E:\Python24\lib\distutils\cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "E:\Python24\lib\distutils\dist.py", line 966, in run_command
     cmd_obj.run()
   File "E:\Python24\lib\distutils\command\install_lib.py", line 88, in run
     self.build()
   File "E:\Python24\lib\distutils\command\install_lib.py", line 108, in 
build
     self.run_command('build_py')
   File "E:\Python24\lib\distutils\cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "E:\Python24\lib\distutils\dist.py", line 965, in run_command
     cmd_obj.ensure_finalized()
   File "E:\Python24\lib\distutils\cmd.py", line 117, in ensure_finalized
     self.finalize_options()
   File "E:\Python24\lib\distutils\command\build_py.py", line 60, in 
finalize_options
     self.data_files = self.get_data_files()
   File "E:\Python24\lib\distutils\command\build_py.py", line 120, in 
get_data_files
     filenames = [
   File "E:\Python24\lib\distutils\command\build_py.py", line 128, in 
find_data_files
     globs = (self.package_data.get('', [])
TypeError: can only concatenate list (not "str") to list

best wishes,
alex.




More information about the PEAK mailing list