From: Phil Howard Date: Tue, 24 Mar 2020 11:23:30 +0000 (+0000) Subject: Move package and requires to setup.cfg X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/commitdiff_plain/4cc6c622eb92bbc223db977e37bd351f84ef2ee5?ds=sidebyside Move package and requires to setup.cfg --- 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()