From 6d077de7a4159b84073c623459893c168a72451b Mon Sep 17 00:00:00 2001 From: Daniel Van Der Maden Date: Fri, 15 May 2020 16:27:24 -0700 Subject: [PATCH] [setup] Fix build for subpackage --- pyhmy/_version.py | 2 +- setup.py | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/pyhmy/_version.py b/pyhmy/_version.py index 58ccf5c..b1a57fb 100644 --- a/pyhmy/_version.py +++ b/pyhmy/_version.py @@ -7,5 +7,5 @@ Provides pyhmy version information. from incremental import Version -__version__ = Version('pyhmy', 20, 5, 1) +__version__ = Version('pyhmy', 20, 5, 3) __all__ = ["__version__"] diff --git a/setup.py b/setup.py index ba54ece..e47e72f 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ import pathlib -from setuptools import setup +from setuptools import setup, find_packages HERE = pathlib.Path(__file__).parent README = (HERE / "README.md").read_text() @@ -14,19 +14,16 @@ setup( author='Daniel Van Der Maden', author_email='daniel@harmony.one', url="http://harmony.one/", - packages=['pyhmy'], + packages=find_packages(), keywords=['Harmony', 'blockchain', 'protocol'], install_requires=[ 'pexpect', 'requests', - 'pytest', - 'pytest-ordering', - 'incremental', - 'click', - 'twisted' ], setup_requires=[ 'incremental', + 'pytest', + 'pytest-ordering', 'click', 'twisted' ],