How do I create a Python egg that will properly pick up all the files and directories in a Python package :?:
I have tried to do this with a "setup.py" file (created outside the Python package). Listed below are its contents:
from setuptools import setup, find_packages
setup(name = "XWF Meta Data",
version = "1.0",
description = "Unknown",
author = "Nobody",
author_email = "nobody@none.com",
classifiers = ["Development Status :: Alpha/Unstable", "Framework :: Zope 3"],
packages = find_packages("XWFMetadata"),
package_dir = {"root": "XWFMetadata"},
include_package_data = True,
zip_safe = False
)
The "XWFMetadata" directory is the Python package. It only contains python files. When I enter in "sudo python setup.py install" only the egg info is created and copied over into the Python "site-packages" directory (exists as "XWF_Meta_Data-1.0-py2.5.egg" directory).