Eggs not picking up some files
I've got sort of a strange issue with eggs for distribution to pypi. I am using the following command to create a egg and send it to pypi and it is omitting my .zcml files from the egg somehow. I export the source from svn and then run: python setup.py register bdist_egg sdist upload I thought maybe there was some sort of issue on my platform. I am on MacOSX 10.4.9 so tried from on of my FreeBSD servers and getting same thing. Probably something simple but hoping someone has an explanation. Many thanks. Regards, David
David Pratt schrieb:
I've got sort of a strange issue with eggs for distribution to pypi. I am using the following command to create a egg and send it to pypi and it is omitting my .zcml files from the egg somehow.
I export the source from svn and then run:
python setup.py register bdist_egg sdist upload
I thought maybe there was some sort of issue on my platform. I am on MacOSX 10.4.9 so tried from on of my FreeBSD servers and getting same thing. Probably something simple but hoping someone has an explanation. Many thanks.
Maybe you post your setup.py here as well? Or in case you have not seen this yet http://peak.telecommunity.com/DevCenter/setuptools#including-data-files may already provide an answer. Raphael
Regards, David _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
Hi Raphael. Indeed, I exported my sources instead of checking them out of svn so it did not add the files to the egg since they were no longer under version control. Many thanks for pointing this out. Regards, David Raphael Ritz wrote:
David Pratt schrieb:
I've got sort of a strange issue with eggs for distribution to pypi. I am using the following command to create a egg and send it to pypi and it is omitting my .zcml files from the egg somehow.
I export the source from svn and then run:
python setup.py register bdist_egg sdist upload
I thought maybe there was some sort of issue on my platform. I am on MacOSX 10.4.9 so tried from on of my FreeBSD servers and getting same thing. Probably something simple but hoping someone has an explanation. Many thanks.
Maybe you post your setup.py here as well?
Or in case you have not seen this yet
http://peak.telecommunity.com/DevCenter/setuptools#including-data-files
may already provide an answer.
Raphael
Regards, David _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
participants (2)
-
David Pratt
-
Raphael Ritz