From bcefa06d0f54fca17de853decab3a52c2d2b83af Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Tue, 11 Jul 2017 00:27:31 -0700 Subject: 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 --- MANIFEST.in | 4 ++++ setup.py | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in 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" -- cgit 1.2.3-korg