Do not package tests package with main project

This commit is contained in:
Eric Torres 2019-03-30 13:16:37 -07:00
parent 3c0eefd0d3
commit 75c2e0d242
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
import setuptools import setuptools
# ========== Constants ==========
PACKAGES = ["packaging_scripts"]
SCRIPTS = ["bin/addpkg", "bin/delpkg", "bin/fqo"]
# ========== Functions ==========
with open("README.rst", "r") as fh: with open("README.rst", "r") as fh:
long_description = fh.read() long_description = fh.read()
@ -12,8 +18,8 @@ setuptools.setup(
long_description=long_description, long_description=long_description,
long_description_content_type="text/plain", long_description_content_type="text/plain",
url="", url="",
packages=setuptools.find_packages(), packages=PACKAGES,
scripts=["bin/addpkg", "bin/delpkg", "bin/fqo"], scripts=SCRIPTS,
classifiers=[ classifiers=[
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",