On Apr 22, 2009, at 11:01 AM, Wichert Akkerman wrote:

> On 4/22/09 4:57 PM, Jim Fulton wrote:
>> Perhaps you could provide (or point to) an example that illustrates  
>> this problem.
> I want to keep my python install clean, so I do not have setuptools  
> installed system-wide. Instead I have a small bin-directory managed  
> by buildout which creates a python interpreter with setuptools,  
> using this snippet:
> [setuptools]
> recipe = zc.recipe.egg
> interpreter = spython
> eggs = setuptools
> scripts = spython
> That allows me to use "spython setup.py sdist register upload".  
> setup.py is invoked with __file__ pointing to the spython wrapper  
> script, so any attempt in setup.py to use __file__ to found files  
> will fail.

This sounds like a bug in interpreter-script's handling of scripts  
passed to it.  I'll look into that.

BTW, did you realize that buildout has a setup command that does what  
your spython script does (and a little more)?


Jim Fulton
Zope Corporation

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to