[Distutils] setup.py not being included with sdist
Nicodemus
nicodemus@globalite.com.br
Mon May 5 22:12:01 2003
Ricardo Niederberger Cabral wrote:
>On Mon, 7 Oct 2002 15:34:22 -0300
>"Nicodemus" <nicodemus@icablenet.com.br> wrote:
>
>
>
>>I've been using distutils to create distributions of some scripts and
>>libraries, and everything works as expected, except that the setup.py file
>>is not included in the source distribution.
>>
>>
>[...]
>
>
>>and run "python setup install", it creates a zipfile named "foo-1.0.zip",
>>that contains the following files:
>>foo-1.0/
>>foo-1.0/foo.py
>>foo-1.0/PKG-INFO
>>Shouldn't setup.py be included with the distribution? What am I doing wrong?
>>
>>
>
>try:
>$ python setup.py sdist
>
>If even after that setup.py doesn't end up on your source tarball, you may, as a last resort, include setup.py on your MANIFEST.in file.
>
>Best regards,
>
Jesus, I sent that message last year! 8P
That was a mistake, I was using "python setup.py sdist", sorry about
that. Also, the environment was Windows 2000. To solve this, I used the
MANIFEST.in file as you suggested.
Regards,
Nicodemus.