mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
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:
parent
5c26e86096
commit
0eb32a65b0
3 changed files with 101 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue