Explicitly include tests and docs in sdist (#75)

Also exclude 'tests' from runtime installation - thanks, @jayvdb
This commit is contained in:
John Vandenberg 2020-01-31 07:21:26 +07:00 committed by GitHub
commit 0988f2eccc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

4
MANIFEST.in Normal file
View file

@ -0,0 +1,4 @@
include LICENSE
include README.md
recursive-include docs *.rst
recursive-include tests *.py

View file

@ -21,7 +21,7 @@ setup(
author="Simon Willison",
version=VERSION,
license="Apache License, Version 2.0",
packages=find_packages(exclude="tests"),
packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=["click", "click-default-group", "tabulate"],
setup_requires=["pytest-runner"],
extras_require={