[bridgedb/master] Fix exclude_package_data param in setuptools.setup().

commit f7a84000817422eb0a3aef20fc2ba93bede31e4b Author: Isis Lovecruft <isis@torproject.org> Date: Tue Oct 15 04:50:59 2013 +0000 Fix exclude_package_data param in setuptools.setup(). * CHANGE ``exclude_package_data`` to specify the package explicitly. This seems to fix a bug where .po files were still being installed. * ADD an exclusion for all .pot files. * FIXES a bug where lib/bridgedb/i18n/templates/bridgedb.pot was being installed by setuptools. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c4259fe..73f1be2 100644 --- a/setup.py +++ b/setup.py @@ -279,7 +279,7 @@ setuptools.setup( include_package_data=True, install_requires=get_requirements(), package_data={'bridgedb': get_data_files(filesonly=True)}, - exclude_package_data={'': ['*.po']}, + exclude_package_data={'bridgedb': ['*.po', '*.pot']}, message_extractors = {'lib/bridgedb': [ ('**.py', 'python', None), ('templates/**.html', 'mako', None),
participants (1)
-
isis@torproject.org