summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/dist.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-06-11 21:50:33 (GMT)
committerFred Drake <fdrake@acm.org>2004-06-11 21:50:33 (GMT)
commit0eb32a65b06613d25aeb18f0104554171bea4840 (patch)
tree8f2972143d9f85b54edf4d66117b76a00c9fc47a /Lib/distutils/dist.py
parent5c26e860960ca30341ed61c8f20c34b0667ad315 (diff)
downloadcpython-0eb32a65b06613d25aeb18f0104554171bea4840.zip
cpython-0eb32a65b06613d25aeb18f0104554171bea4840.tar.gz
cpython-0eb32a65b06613d25aeb18f0104554171bea4840.tar.bz2
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.
Diffstat (limited to 'Lib/distutils/dist.py')
-rw-r--r--Lib/distutils/dist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 2795b7b..7d0a7ba 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -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