[PEAK] setuptools dependencies installed from os packages

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


Phillip J. Eby wrote, at 20.12.2005 17:29:
> 
>> i have encountered two errors in current setuptools snapshot 
>> (0.6a9dev_r41761):
>>
>>  - commands install_egg_info and install_scripts are not registered in 
>> entry_points.txt
>>
>>  - distutils install_scripts command (base for setuptools 
>> install_scripts) is always run and fails if there are no scripts in 
>> distribution.
> 
> That's odd; they're in SVN:  http://svn.python.org/view?rev=41692&view=rev
> 
> Can you reproduce the problem with a fresh checkout?

=== begin cut ===
E:\Python24\Scripts>python ez_setup.py setuptools==0.6a8
Searching for setuptools==0.6a8
Best match: setuptools 0.6a8
Processing setuptools-0.6a8-py2.4.egg
Removing setuptools 0.6a9dev-r41761 from easy-install.pth file
Adding setuptools 0.6a8 to easy-install.pth file
Installing easy_install-script.py script to E:\Python24\Scripts
error: 
e:\python24\lib\site-packages\setuptools-0.6a9dev_r41761-py2.4.egg\setupt
ools\cli.exe: No such file or directory

E:\Python24\Scripts>rmdir /Q /S 
..\lib\site-packages\setuptools-0.6a9dev_r41761-py2.4.egg

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-ua58k7\setuptools
Processing setuptools
Running setup.py -q bdist_egg --dist-dir 
e:\winnt\temp\easy_install-ua58k7\setuptools\egg-dist-tmp-64ivh-
E:\Python24\lib\distutils\dist.py:236: UserWarning: Unknown distribution 
option:
  'include_package_data'
   warnings.warn(msg)
Removing setuptools 0.6a8 from easy-install.pth file
Adding setuptools 0.6a9dev-r41761 to easy-install.pth file
Installing easy_install-script.py script to E:\Python24\Scripts
Installing easy_install.exe script to E:\Python24\Scripts

Installed e:\python24\lib\site-packages\setuptools-0.6a9dev_r41761-py2.4.egg
Processing dependencies for setuptools==0.6a9dev-r41761

E:\Python24\Scripts>grep install_ 
E:\Python24\Lib\site-packages\setuptools-0.6a9dev_r41761-py2.4.egg\EGG-INFO\entry_points.txt
install_requires = setuptools.dist:check_requirements
install_lib = setuptools.command.install_lib:install_lib

E:\Python24\Scripts>
==== end cut ====

that's it.  the commands are not there.

if i do "easy_install -eb . setuptools==dev", i get correct svn checkout.

however, it still always runs base version of install_scripts and i get 
"error: cannot copy tree 'build\scripts-2.4': not a directory".

best wishes,
alex.




More information about the PEAK mailing list