From: Todd M. Guerra Date: Wed, 30 Sep 2015 20:11:06 +0000 (-0400) Subject: setup: change to using include_package_data X-Git-Tag: dev-2a51c9b95d06~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F268%2Fhead;p=thirdparty%2Fbabel.git setup: change to using include_package_data 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 --- diff --git a/setup.py b/setup.py index 4b8db027..83cd6517 100755 --- 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