]> granicus.if.org Git - python/commit
Allow multiple values for package_data in setup.cfg (#11805).
authorÉric Araujo <merwok@netwok.org>
Sat, 4 Feb 2012 20:53:07 +0000 (21:53 +0100)
committerÉric Araujo <merwok@netwok.org>
Sat, 4 Feb 2012 20:53:07 +0000 (21:53 +0100)
commit31aefde8760c3d407ffe8dc044e5ae8f5daeb12c
tree603b62a6b4d6fee4d984dcf112526cd178e4bae1
parent591f6e82bd24361b7628bcb47830e18efb354db2
Allow multiple values for package_data in setup.cfg (#11805).

Even though the resources system obsoletes data_files and package_data
(see bug discussion), package_data still exists to allow compatibility
with distutils and thus an easier transition.  In setup.py, the values
are lists of glob patterns, so the setup.cfg syntax needed a way to
express multiple values too.

Doc for this option will be added later as part of the big packaging doc
patches.  For now, the test serves as example.

Reported by Erik Bray.
Lib/packaging/config.py
Lib/packaging/tests/test_config.py
Misc/NEWS