Use pyproject.toml

This commit is contained in:
Tekktrik 2023-05-16 23:23:06 -04:00
parent f9cb830724
commit 06e0c1690f
2 changed files with 46 additions and 6 deletions

46
pyproject.toml Normal file
View file

@ -0,0 +1,46 @@
# SPDX-FileCopyrightText: 2022 Alec Delaney for Adafruit Industries
#
# SPDX-License-Identifier: MIT
[build-system]
requires = [
"setuptools",
"wheel",
"setuptools-scm",
]
[project]
name = "cedargrove-nau7802"
description = "A CircuitPython driver class for the NAU7802 24-bit ADC"
version = "0.0.0+auto.0"
readme = "README.rst"
authors = [
{name = "Adafruit Industries", email = "circuitpython@adafruit.com"}
]
urls = {Homepage = "https://github.com/adafruit/CircuitPython"}
keywords = [
"adafruit",
"nau7802",
"adc",
"sensor",
"hardware",
"micropython",
"circuitpython",
]
license = {text = "MIT"}
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Embedded Systems",
"Topic :: System :: Hardware",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
dynamic = ["dependencies", "optional-dependencies"]
[tool.setuptools]
py-modules = ["cedargrove_nau7802"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
optional-dependencies = {optional = {file = ["optional_requirements.txt"]}}

View file

@ -1,6 +0,0 @@
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: Unlicense
# This library is not deployed to PyPI. It is either a board-specific helper library, or
# does not make sense for use on or is incompatible with single board computers and Linux.