[PEAK] setuptools dependencies installed from os packages

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


Phillip J. Eby wrote, at 20.12.2005 18:13:
> 
> Argh.  I know what's happening now.  The older version of setuptools is 
> already imported when the setup script runs, so it regenerates the 
> entry_points.txt from the already-installed setuptools, thereby breaking 
> the new setuptools.  :(
> 
> I'll start work on fixing that.

sorry, i probably didn't express myself clear enough: i've managed to 
fix both problems and successfully built FormEncode installer with 
egg-info included.  i just wanted to let you know that it wasn't 
straightforward.

>> 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".
> 
> Hm.  Do you mean the "correct svn checkout" still has this problem?

i think yes.  i do svn up setuptools (at revision 41775), run bdist_egg 
(getting setuptools-0.6a9dev_r41761-py2.4.egg) and install the egg. 
after that "python setup.py bdist_wininst" in FormEncode sources 
produces the error shown above.

i fix that with this patch:

--- install_scripts.py.orig	2005-12-20 18:20:54.349125200 +0200
+++ install_scripts.py	2005-12-20 18:21:20.848786000 +0200
@@ -11,7 +11,8 @@

      def run(self):
          self.run_command("egg_info")
-        _install_scripts.run(self)  # run first to set up self.outfiles
+        if self.distribution.scripts:
+            _install_scripts.run(self)  # run first to set up self.outfiles

          ei_cmd = self.get_finalized_command("egg_info")
          dist = Distribution(

best wishes,
alex.




More information about the PEAK mailing list