Skip to content

Commit da7ea9d

Browse files
committed
Truly exclude 'tests' package in setup.py
This way setuptools certainly won't install it.
1 parent 69bf1eb commit da7ea9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
url='https://github.com/django-debug-toolbar/django-debug-toolbar',
1313
download_url='https://pypi.python.org/pypi/django-debug-toolbar',
1414
license='BSD',
15-
packages=find_packages(exclude=('tests', 'example')),
15+
packages=find_packages(exclude=('tests.*', 'tests', 'example')),
1616
install_requires=[
1717
'django>=1.4.2',
1818
'sqlparse',

0 commit comments

Comments
 (0)