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>
This commit is contained in:
Rosario Di Somma 2013-04-03 20:31:21 +02:00
parent 64ff465910
commit db2c825fc1
2 changed files with 3 additions and 1 deletions

2
MANIFEST.in Normal file
View File

@ -0,0 +1,2 @@
recursive-include test *.py
recursive-include smoke *.py

View File

@ -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,
)