diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2020-04-30 08:57:10 +0200 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-04-30 10:21:23 +0200 |
| commit | c305cc4d2d482d1e07267c580802afd4fb536cdb (patch) | |
| tree | 3711f4543252df6e8c0e2c1097aeecb34fc35236 | |
| parent | efb51556d977885ff75c726d06ccda2f4d49205a (diff) | |
| download | astroid-git-c305cc4d2d482d1e07267c580802afd4fb536cdb.tar.gz | |
Exclude tests from getting installed from source distribution
Close #774
| -rw-r--r-- | MANIFEST.in | 2 | ||||
| -rw-r--r-- | setup.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index 23286ffc..8cf73ba0 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -5,3 +5,5 @@ include COPYING.LESSER include pytest.ini recursive-include tests *.py *.zip *.egg *.pth recursive-include astroid/brain *.py +graft tests +recursive-exclude tests *.pyc @@ -47,7 +47,7 @@ def install(): python_requires=">=3.5.*", install_requires=install_requires, extras_require=extras_require, - packages=find_packages() + ["astroid.brain"], + packages=find_packages(exclude=["tests"]) + ["astroid.brain"], setup_requires=pytest_runner, test_suite="test", tests_require=["pytest"], |
