[Distutils] Building Python Eggs

Phillip J. Eby pje at telecommunity.com
Tue Jan 20 16:50:12 CET 2009

At 11:29 AM 1/20/2009 +0100, Raphael Ritz wrote:
>Amit k. Saha wrote:
>>On Wed, Jan 14, 2009 at 3:34 PM, Lutz Paelike <lutz_p at gmx.net> wrote:
>>>Hey Amit,
>>>a __init__.py file needs to be contained in a folder to make the folder a
>>I had missed the 'folder' thingy..
>Glad you've got a solution that works for you
>but IIRC it should be possible to do as you
>originally intended by explicitly adding
>   py_modules = ['demo1.py']
>in your setup call.

Omit the '.py' though -- that would mean you're installing the 'py' 
module of the 'demo1' package (i.e., 'demo1/py.py') -- which is 
probably not what you want.  ;-)

More information about the Distutils-SIG mailing list