summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-05-16 17:24:14 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-05-16 17:49:48 +0200
commit953ea0fd2b1e755ac13a8957461f2a449642645d (patch)
tree2fc6628283450a5c525515009f4b90e07996695e
parentAdd pre-commit configuration for REUSE.software. (diff)
downloadglucometerutils-953ea0fd2b1e755ac13a8957461f2a449642645d.tar
glucometerutils-953ea0fd2b1e755ac13a8957461f2a449642645d.tar.gz
glucometerutils-953ea0fd2b1e755ac13a8957461f2a449642645d.tar.bz2
glucometerutils-953ea0fd2b1e755ac13a8957461f2a449642645d.tar.lz
glucometerutils-953ea0fd2b1e755ac13a8957461f2a449642645d.tar.xz
glucometerutils-953ea0fd2b1e755ac13a8957461f2a449642645d.tar.zst
glucometerutils-953ea0fd2b1e755ac13a8957461f2a449642645d.zip
-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"]},
)