Use exclude= instead of include= for find_packages.

It seems the old setuptool version in Ubuntu Trusty doesn't have include=...
This commit is contained in:
Florian Bruhin 2015-06-26 19:45:56 +02:00
parent f10b9f1172
commit 956baed76b

View File

@ -38,7 +38,7 @@ except NameError:
try:
common.write_git_file()
setuptools.setup(
packages=setuptools.find_packages(include=['qutebrowser']),
packages=setuptools.find_packages(exclude=['scripts', 'scripts.*']),
include_package_data=True,
entry_points={'gui_scripts':
['qutebrowser = qutebrowser.qutebrowser:main']},