summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-25 18:20:43 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-25 18:40:01 +0100
commit1bb280e8a0b9b7b35dcd8ad7d19f5b6796bbaae1 (patch)
treebe8c52f7f6c29245224abb7e5ed3a7af14975a21 /setup.py
parentRemove support for `setup.py test`. (diff)
downloadglucometerutils-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.py20
1 files changed, 8 insertions, 12 deletions
diff --git a/setup.py b/setup.py
index 26a9bcb..0ef1c77 100644
--- a/setup.py
+++ b/setup.py
@@ -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"]},
)