commit a95e1894320ac43bf117d68021767e51a1037f39 Author: Isis Lovecruft isis@torproject.org Date: Tue Oct 15 04:38:52 2013 +0000
Rewrite the package_data param to setuptools.setup() to use get_data_files(). --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/setup.py b/setup.py index b3cbb70..c4259fe 100644 --- a/setup.py +++ b/setup.py @@ -278,9 +278,7 @@ setuptools.setup( cmdclass=get_cmdclass(), include_package_data=True, install_requires=get_requirements(), - package_data={'bridgedb': ['i18n/*/LC_MESSAGES/*.mo', - 'templates/*.html', - 'templates/assets/*']}, + package_data={'bridgedb': get_data_files(filesonly=True)}, exclude_package_data={'': ['*.po']}, message_extractors = {'lib/bridgedb': [ ('**.py', 'python', None),