aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-07-11 00:27:31 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-07-12 11:18:47 -0700
commitbcefa06d0f54fca17de853decab3a52c2d2b83af (patch)
tree04173c92e5916a58eaf8587495e5ffb1404f7f43
parent4348462d9e221586448375a46aef3eff04407535 (diff)
Fix issues with installing sdist and wheels
A local install of the sdist and wheel found the following issues: - sdist: Add MANIFEST.in to include missing README.md, LICENSE, anteater.conf, master_list.yaml, and explicitly exclude exception files. - sdist: Both py_modules and packages listed. Since Anteater is a Python package, not a module, only the 'packages' argument is required for setup(). - wheel: 'REQUIRES' in setup.py is missing dependent packages JIRA: RELENG-275 Change-Id: I3b1447edcd7161cda4c5d581e31019bcf8eba1c8 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--MANIFEST.in4
-rwxr-xr-xsetup.py4
2 files changed, 7 insertions, 1 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..e043fed
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,4 @@
+include LICENSE README.md
+include anteater.conf
+include master_list.yaml
+exclude exceptions/*
diff --git a/setup.py b/setup.py
index d392231..c791175 100755
--- a/setup.py
+++ b/setup.py
@@ -7,6 +7,9 @@ from setuptools import setup, find_packages
REQUIRES = [
'docopt',
+ 'six',
+ 'binaryornot',
+ 'PyYAML',
]
@@ -71,7 +74,6 @@ setup(
'Programming Language :: Python :: Implementation :: PyPy'
],
packages=find_packages(),
- py_modules=["anteater"],
entry_points={
'console_scripts': [
"anteater = anteater.main:main"