Add support for package data.

This is basically the support for package data from Phillip Eby's
setuptools package.  I've changed it only to fit it into the core
implementation rather than to live in subclasses, and added
documentation.
This commit is contained in:
Fred Drake 2004-06-11 21:50:33 +00:00
parent 5c26e86096
commit 0eb32a65b0
3 changed files with 101 additions and 0 deletions

View file

@ -158,6 +158,7 @@ class Distribution:
# than of the Distribution itself. We provide aliases for them in
# Distribution as a convenience to the developer.
self.packages = None
self.package_data = {}
self.package_dir = None
self.py_modules = None
self.libraries = None