Folks,

Stop talking about this. :)

This is almost certainly a buildout bug that I'll fix.

Jim

On Apr 22, 2009, at 5:40 PM, Chris McDonough wrote:

> On 4/22/09 4:13 PM, Wichert Akkerman wrote:
>> 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.
>
> You actually can't anyway (at least currently, for any useful  
> setup.py command):
>
> http://plope.com/Members/chrism/setup.py-blues
>
> - C
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope )

--
Jim Fulton
Zope Corporation


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

Reply via email to