Explicitly include tests and docs in sdist

Also exclude 'tests' from runtime installation.
This commit is contained in:
John Vandenberg 2020-01-07 11:51:34 +07:00
commit 39a836450b
2 changed files with 5 additions and 1 deletions

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={