Skip to content

Commit 3965db9

Browse files
author
Alex Brandt
committed
Exclude tests package from installation.
Installing the top-level tests package is asking for conflicts with other python packages and isn't required to run fig. This simply lets find_packages know to ignore tests and any sub-packages.
1 parent 22f897e commit 3965db9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def find_version(*file_paths):
4343
url='http://www.fig.sh/',
4444
author='Docker, Inc.',
4545
license='Apache License 2.0',
46-
packages=find_packages(),
46+
packages=find_packages(exclude=[ 'tests.*', 'tests' ]),
4747
include_package_data=True,
4848
test_suite='nose.collector',
4949
install_requires=install_requires,

0 commit comments

Comments
 (0)