[Zope-dev] Release management proposal

Wichert Akkerman wichert at wiggy.net
Wed Apr 22 16:13:40 EDT 2009


Previously Martijn Faassen wrote:
> Wichert Akkerman wrote:
> 
> > 2. forbid the use of __file__ in setup.py. This breaks on systems
> >    which do not have setuptools installed globally but rely on a
> >    (zc.buildout-created) wrapper script. __file__ will point
> >    to the wrapper script in those instances, which breaks setup.py.
> 
> This will break many setup.py scripts that use __file__ to integrate 
> README.txt and such for publication on pypi. I think that's a useful 
> feature we cannot just drop, so hopefully there's another solution.

Can we assume that the cwd is the root of the package? Do you ever
invoke setup.py from somewhere else? All Plone packages make that
assumption and we've never seen any problems with it.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Zope-Dev mailing list