Skip to content

Commit

Permalink
update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
FoamyGuy committed Oct 31, 2023
1 parent 20da652 commit 12819ff
Showing 1 changed file with 48 additions and 4 deletions.
52 changes: 48 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,50 @@
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: Unlicense
# SPDX-FileCopyrightText: 2022 Alec Delaney, written for Adafruit Industries

[tool.black]
target-version = ['py35']
# SPDX-License-Identifier: MIT

[build-system]
requires = [
"setuptools",
"wheel",
"setuptools-scm",
]

[project]
name = "circuitpython-displayio-annotation"
description = "A CircuitPython DisplayIO widget for annotating other widgets or freeform positions."
version = "0.0.0+auto.0"
readme = "README.rst"
authors = [
{name = "CircuitPython Organization"}
]
urls = {Homepage = "https://github.com/circuitpython/CircuitPython_Org_DisplayIO_Annotation"}
keywords = [
"adafruit",
"blinka",
"circuitpython",
"micropython",
"displayio",
"displayio_annotation",
"graphics",
"widget"
]
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]
# TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER,
# CHANGE `py_modules = ['...']` TO `packages = ['...']`
py-modules = ["displayio_annotation"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
optional-dependencies = {optional = {file = ["optional_requirements.txt"]}}

0 comments on commit 12819ff

Please sign in to comment.