summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup.cfg9
-rw-r--r--setup.py6
2 files changed, 10 insertions, 5 deletions
diff --git a/setup.cfg b/setup.cfg
index a6cb959..74d28d1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -27,6 +27,15 @@ classifiers =
Intended Audience :: End Users/Desktop
Topic :: Scientific/Engineering :: Medical Science Apps.
+[options]
+python_requires = ~= 3.7
+install_requires =
+ attrs
+packages = find:
+
+[options.data_files]
+lib/udev/rules =
+ udev/69-glucometerutils.rules
[tool:pytest]
addopts =
diff --git a/setup.py b/setup.py
index 19b5f87..b2bcd95 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors
# SPDX-License-Identifier: MIT
-from setuptools import find_packages, setup
+from setuptools import setup
# Ensure it's present.
import setuptools_scm # noqa: F401
@@ -45,10 +45,6 @@ extras_require["all"] = all_require
setup(
- python_requires="~=3.7",
- packages=find_packages(exclude=["test", "udev"]),
- data_files=[("lib/udev/rules", ["udev/69-glucometerutils.rules"])],
- install_requires=["attrs"],
extras_require=extras_require,
entry_points={"console_scripts": ["glucometer=glucometerutils.glucometer:main"]},
)