Skip to content

Commit

Permalink
Fully exclude tests modules in setup.py
Browse files Browse the repository at this point in the history
Just excluding 'tests' doesn't seem to be enough: it results in
tests/rest_framework being installed systemwide when you run
`python setup.py install`. Excluding 'tests*' seems to do the
trick.
  • Loading branch information
AdamWill committed Jan 13, 2017
1 parent 3dc53a0 commit 756c40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -33,7 +33,7 @@
maintainer='Carlton Gibson',
maintainer_email='carlton.gibson@noumenal.es',
url='http://github.com/carltongibson/django-filter/tree/master',
packages=find_packages(exclude=['tests']),
packages=find_packages(exclude=['tests*']),
include_package_data=True,
license='BSD',
classifiers=[
Expand Down

0 comments on commit 756c40e

Please sign in to comment.