Skip to content

Commit 4a87cb4

Browse files
committed
Update pyproject.toml
1 parent 72d2439 commit 4a87cb4

File tree

1 file changed

+46
-4
lines changed

1 file changed

+46
-4
lines changed

pyproject.toml

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,48 @@
1-
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
1+
# SPDX-FileCopyrightText: 2022 Alec Delaney, written for Adafruit Industries
2+
# SPDX-FileCopyrightText: Copyright (c) 2023 Liz Clark for Adafruit Industries
23
#
3-
# SPDX-License-Identifier: Unlicense
4+
# SPDX-License-Identifier: MIT
45

5-
[tool.black]
6-
target-version = ['py35']
6+
[build-system]
7+
requires = [
8+
"setuptools",
9+
"wheel",
10+
"setuptools-scm",
11+
]
12+
13+
[project]
14+
name = "adafruit-circuitpython-ad569x"
15+
description = "CircuitPython driver for the AD569x DAC"
16+
version = "0.0.0+auto.0"
17+
readme = "README.rst"
18+
authors = [
19+
{name = "Adafruit Industries", email = "[email protected]"}
20+
]
21+
urls = {Homepage = "https://github.com/adafruit/Adafruit_CircuitPython_AD569x"}
22+
keywords = [
23+
"adafruit",
24+
"blinka",
25+
"circuitpython",
26+
"micropython",
27+
"ad569x",
28+
"DAC",
29+
]
30+
license = {text = "MIT"}
31+
classifiers = [
32+
"Intended Audience :: Developers",
33+
"Topic :: Software Development :: Libraries",
34+
"Topic :: Software Development :: Embedded Systems",
35+
"Topic :: System :: Hardware",
36+
"License :: OSI Approved :: MIT License",
37+
"Programming Language :: Python :: 3",
38+
]
39+
dynamic = ["dependencies", "optional-dependencies"]
40+
41+
[tool.setuptools]
42+
# TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER,
43+
# CHANGE `py_modules = ['...']` TO `packages = ['...']`
44+
py-modules = ["adafruit_ad569x"]
45+
46+
[tool.setuptools.dynamic]
47+
dependencies = {file = ["requirements.txt"]}
48+
optional-dependencies = {optional = {file = ["optional_requirements.txt"]}}

0 commit comments

Comments
 (0)