Ida
Ida

Reputation: 3965

Why are files missing when I upload an egg to pypi?

Following the instructions on http://plone.org/documentation/kb/how-to-upload-your-package-to-plone.org/distuttils-commands-and-.pypirc, I uploaded an egg to pypi (adi.workingcopyflag).The created egg is missing some files (configuration.zcml and profiles).

Why are these files missing/how can I fix this?

EDIT: Brandon Rhodes answer How to upload a pristine Python package to PyPI? helped.

Adding a MANIFEST.in is the solution.

Upvotes: 0

Views: 247

Answers (1)

Mikko Ohtamaa
Mikko Ohtamaa

Reputation: 83768

I suggest you use zest.releaser to automatize the release process - less human mistakes:

http://opensourcehacker.com/2012/08/14/high-quality-automated-package-releases-for-python-with-zest-releaser/

For example, it would have warned you about missing MANIFEST.in.

(disclaimer: my blog post)

Upvotes: 1

Related Questions