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 <[email protected]> wrote:
Hey Amit,
a __init__.py file needs to be contained in a folder to make the folder a
package.
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. ;-)
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig