]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
setup: change to using include_package_data 268/head
authorTodd M. Guerra <toddguerra@gmail.com>
Wed, 30 Sep 2015 20:11:06 +0000 (16:11 -0400)
committerTodd M. Guerra <toddguerra@gmail.com>
Mon, 5 Oct 2015 15:07:34 +0000 (11:07 -0400)
Instead of manually writing includes to various package data,
we now just set include_package_data to True to make it more efficient.
Reference: http://pythonhosted.org/setuptools/setuptools.html#new-and-changed-setup-keywords

Fixes https://github.com/python-babel/babel/issues/260

setup.py

index 4b8db0270ab2662ee15bfeed63347a1d556078a0..83cd6517001e4f581443ef7a6ed876b0c1fe6c08 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -62,7 +62,7 @@ setup(
         'Topic :: Software Development :: Libraries :: Python Modules',
     ],
     packages=['babel', 'babel.messages', 'babel.localtime'],
-    package_data={'babel': ['global.dat', 'locale-data/*.dat']},
+    include_package_data=True,
     install_requires=[
         # This version identifier is currently necessary as
         # pytz otherwise does not install on pip 1.4 or