From 3c5b81117d4c012fc22c19959d550c7cc2655cce Mon Sep 17 00:00:00 2001 From: Mohamed Haseeb Date: Sat, 18 Nov 2017 21:57:44 +0100 Subject: [PATCH] automatically find packages, while excluding test dirs --- setup.py | 6 +++--- shapelets/test/__init__.py | 0 shapelets/{test => tests}/test_aggregation_layer.py | 0 shapelets/{test => tests}/test_cross_entropy_loss_layer.py | 0 shapelets/{test => tests}/test_linear_layer.py | 0 shapelets/{test => tests}/test_sigmoid_layer.py | 0 shapelets/{test => tests}/test_soft_min_layer.py | 0 shapelets/{test => tests}/test_utils.py | 0 8 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 shapelets/test/__init__.py rename shapelets/{test => tests}/test_aggregation_layer.py (100%) rename shapelets/{test => tests}/test_cross_entropy_loss_layer.py (100%) rename shapelets/{test => tests}/test_linear_layer.py (100%) rename shapelets/{test => tests}/test_sigmoid_layer.py (100%) rename shapelets/{test => tests}/test_soft_min_layer.py (100%) rename shapelets/{test => tests}/test_utils.py (100%) diff --git a/setup.py b/setup.py index af6bbbf..741bbda 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,13 @@ -from setuptools import setup +from setuptools import setup, find_packages setup( name='shapelets-lts', - version='0.2.1', + version='0.2.2.dev3', install_requires=[ 'numpy', 'scipy', 'sklearn', 'matplotlib', ], - packages=['shapelets'] + packages=find_packages() ) diff --git a/shapelets/test/__init__.py b/shapelets/test/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/shapelets/test/test_aggregation_layer.py b/shapelets/tests/test_aggregation_layer.py similarity index 100% rename from shapelets/test/test_aggregation_layer.py rename to shapelets/tests/test_aggregation_layer.py diff --git a/shapelets/test/test_cross_entropy_loss_layer.py b/shapelets/tests/test_cross_entropy_loss_layer.py similarity index 100% rename from shapelets/test/test_cross_entropy_loss_layer.py rename to shapelets/tests/test_cross_entropy_loss_layer.py diff --git a/shapelets/test/test_linear_layer.py b/shapelets/tests/test_linear_layer.py similarity index 100% rename from shapelets/test/test_linear_layer.py rename to shapelets/tests/test_linear_layer.py diff --git a/shapelets/test/test_sigmoid_layer.py b/shapelets/tests/test_sigmoid_layer.py similarity index 100% rename from shapelets/test/test_sigmoid_layer.py rename to shapelets/tests/test_sigmoid_layer.py diff --git a/shapelets/test/test_soft_min_layer.py b/shapelets/tests/test_soft_min_layer.py similarity index 100% rename from shapelets/test/test_soft_min_layer.py rename to shapelets/tests/test_soft_min_layer.py diff --git a/shapelets/test/test_utils.py b/shapelets/tests/test_utils.py similarity index 100% rename from shapelets/test/test_utils.py rename to shapelets/tests/test_utils.py