diff options
author | Ian Denhardt <ian@zenhack.net> | 2017-02-09 11:49:30 -0500 |
---|---|---|
committer | Ian Denhardt <ian@zenhack.net> | 2017-02-09 11:49:30 -0500 |
commit | db7fa1fccd586b013cd5fcade3f7692c78df0da7 (patch) | |
tree | 78d168b6c57c5088b677604ab54e44604bb4a981 /setup.py | |
parent | c2b73f139998cd465133b5942a345875486ce514 (diff) |
Fix the packaging of tests
* Include the tests in the sdist
* Don't install the test packages if present when running setup.py
install.
This way installing correctly omits the tests/ subdirectory when
installing from a git checkout -- previously this would install a
package called "tests" as well. Furthermore, the tests are now included
in the sdist, as they should be.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ setup(name='alot', author_email=alot.__author_email__, url=alot.__url__, license=alot.__copyright__, - packages=find_packages(), + packages=find_packages(exclude=['tests*']), package_data={'alot': [ 'defaults/alot.rc.spec', 'defaults/notmuch.rc.spec', |