From db2c825fc15f6a6e3acf2714396291ac2f3cd862 Mon Sep 17 00:00:00 2001 From: Rosario Di Somma <rosario.disomma@dreamhost.com> Date: Wed, 3 Apr 2013 20:31:21 +0200 Subject: [PATCH] Fix test packaging Ignore the test and smoke directories when looking for python packages, to avoid having the files installed. Include the directories in the source distribution, so they are available to be run if the source package is downloaded. Change-Id: I31a11c8c7edc5a17cb050be3c045ef270eb57894 Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com> --- MANIFEST.in | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..1329d59 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +recursive-include test *.py +recursive-include smoke *.py \ No newline at end of file diff --git a/setup.py b/setup.py index 0b93968..4c68913 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( install_requires=[ ], namespace_packages=['akanda'], - packages=find_packages(), + packages=find_packages(exclude=['test', 'smoke']), include_package_data=True, zip_safe=False, )