diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2020-03-25 18:20:43 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-03-25 18:40:01 +0100 |
commit | 1bb280e8a0b9b7b35dcd8ad7d19f5b6796bbaae1 (patch) | |
tree | be8c52f7f6c29245224abb7e5ed3a7af14975a21 /setup.py | |
parent | Remove support for `setup.py test`. (diff) | |
download | glucometerutils-1bb280e8a0b9b7b35dcd8ad7d19f5b6796bbaae1.tar glucometerutils-1bb280e8a0b9b7b35dcd8ad7d19f5b6796bbaae1.tar.gz glucometerutils-1bb280e8a0b9b7b35dcd8ad7d19f5b6796bbaae1.tar.bz2 glucometerutils-1bb280e8a0b9b7b35dcd8ad7d19f5b6796bbaae1.tar.lz glucometerutils-1bb280e8a0b9b7b35dcd8ad7d19f5b6796bbaae1.tar.xz glucometerutils-1bb280e8a0b9b7b35dcd8ad7d19f5b6796bbaae1.tar.zst glucometerutils-1bb280e8a0b9b7b35dcd8ad7d19f5b6796bbaae1.zip |
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -21,23 +21,20 @@ extras_require = { "td4277": ["construct", "pyserial", "hidapi"], # These are not drivers, but rather tools and features. "reversing_tools": ["usbmon-tools"], + "dev": [ + "absl-py", + "construct>=2.9", + "mypy", + "pre-commit", + "pytest-timeout>=1.3.0", + "pytest>=3.6.0", + ], } -tests_require = [ - "absl-py", - "construct>=2.9", - "pytest>=3.6.0", - "pytest-timeout>=1.3.0", -] - -# Development and testing dependencies -extras_require["dev"] = tests_require + ["pre-commit", "mypy"] - all_require = [] for extra_require in extras_require.values(): all_require.extend(extra_require) -tests_require.extend(all_require) extras_require["all"] = all_require @@ -46,7 +43,6 @@ setup( packages=find_packages(exclude=["test", "udev"]), data_files=[("lib/udev/rules", ["udev/69-glucometerutils.rules"]),], install_requires=["attrs",], - tests_require=tests_require, extras_require=extras_require, entry_points={"console_scripts": ["glucometer=glucometerutils.glucometer:main"]}, ) |