Module not included when running "setup.py sdist"

"Martin v. Löwis" martin at v.loewis.de
Sat Nov 22 11:42:25 EST 2008


> I did not see "wyzard.py" anywhere in there, so I copied wyzard.py to
> "~/Code/distrib/wyzard" (so that it was living next to the setup
> script), deleted the tarball created by the first try, and ran
> "setup.py sdist" again. It still hadn't copied to the tarball. I tried
> again several times, but nothing happened. Can anyone explain what I
> have to do to get Distutils to include the module?

You need to delete the MANIFEST, or rerun with --force-manifest.
Otherwise, the manifest will only get regenerated when setup.py changes.

Regards,
Martin



More information about the Python-list mailing list