diff --git a/pyproject.toml b/pyproject.toml index 4aa044e..4fb0fa7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,31 @@ # along with this program. If not, see . [build-system] -requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] +requires = ["setuptools >= 42", "wheel", "setuptools_scm >= 3.4"] +build-backend = "setuptools.build_meta" + +[project] +name = "pyshimmer" +authors = [{ name = "Lukas Magel" }] +description = "API for Shimmer sensor devices" +readme = "README.rst" +license = { file = "LICENSE" } +urls = { "Homepage" = "https://github.com/seemoo-lab/pyshimmer" } +requires-python = ">= 3.7" +dynamic = ["version"] +dependencies = [ + "pyserial>=3.4", + "numpy>=1.15", + "pandas>=1.1.5", +] + +[project.optional-dependencies] +test = [ + "pytest", + "pytest-cov", +] + +[tool.setuptools.packages.find] +include = ["pyshimmer*"] [tool.setuptools_scm] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 962cd03..0000000 --- a/setup.cfg +++ /dev/null @@ -1,39 +0,0 @@ -# pyshimmer - API for Shimmer sensor devices -# Copyright (C) 2020 Lukas Magel - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -[metadata] -name = pyshimmer -author = Lukas Magel -license = GPL-3.0-or-later -description = API for Shimmer sensor devices -url = https://github.com/seemoo-lab/pyshimmer -long_description = file: README.rst - -[options] -packages = find: -setup_requires = setuptools_scm -install_requires = - pyserial>=3.4 - numpy>=1.15 - pandas>=1.1.5 - -[options.packages.find] -include = pyshimmer* - -[options.extras_require] -test = - pytest - pytest-cov