From c05839bf751ab7c2aa00d048a5b4d36f934d13f2 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 19 Feb 2018 09:19:46 +0100 Subject: [PATCH] don't install tests into the binary distribution this tries to install a "tests" python package, which we don't own. at the same time, also exclude docs and contrib as done in the PyPA sample project [1] [1] https://github.com/pypa/sampleproject/blob/master/setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bce5f79..4132bf1 100755 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ def read(*paths): author='Og Maciel', author_email='omaciel@ogmaciel.com', url='https://github.com/omaciel/fauxfactory', - packages=find_packages(), + packages=find_packages(exclude=['contrib', 'docs', 'tests']), keywords='python automation data', license='Apache 2.0', classifiers=[