From 4cc6c622eb92bbc223db977e37bd351f84ef2ee5 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Tue, 24 Mar 2020 11:23:30 +0000 Subject: [PATCH 1/1] Move package and requires to setup.cfg --- library/setup.cfg | 1 + library/setup.py | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/library/setup.cfg b/library/setup.cfg index 83f89fa..dddc8af 100644 --- a/library/setup.cfg +++ b/library/setup.cfg @@ -27,6 +27,7 @@ classifiers = Topic :: System :: Hardware [options] +packages = enviroplus install_requires = pimoroni-bme280 pms5003 diff --git a/library/setup.py b/library/setup.py index 784db51..40d6dbc 100755 --- a/library/setup.py +++ b/library/setup.py @@ -30,7 +30,4 @@ minimum_version = parse_version('30.4.0') if parse_version(__version__) < minimum_version: raise RuntimeError("Package setuptools must be at least version {}".format(minimum_version)) -setup( - packages=['enviroplus'], - install_requires=['setuptools>={}'.format(minimum_version), 'pimoroni-bme280', 'pms5003', 'ltr559', 'st7735', 'ads1015', 'fonts', 'font-roboto', 'astral', 'pytz'] -) +setup() -- 2.30.2