summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup.cfg4
-rw-r--r--setup.py1
2 files changed, 4 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index d737af1..4389dbd 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -37,6 +37,10 @@ python_requires = ~= 3.7
lib/udev/rules =
udev/69-glucometerutils.rules
+[options.entry_points]
+console_scripts =
+ glucometer = glucometerutils.glucometer:main
+
[tool:pytest]
addopts =
--color=yes
diff --git a/setup.py b/setup.py
index 115a0ad..a209093 100644
--- a/setup.py
+++ b/setup.py
@@ -43,5 +43,4 @@ extras_require["all"] = all_require
setup(
extras_require=extras_require,
- entry_points={"console_scripts": ["glucometer=glucometerutils.glucometer:main"]},
)