Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[build-system]
requires = [
"setuptools>=77",
"wheel",
"setuptools-scm",
]

[project]
name = "circuitpython-build-tools"
requires-python = ">=3.10"
description = "CircuitPython library build tools"
readme = "README.md"
authors = [
{name = "Scott Shawcroft", email = "scott@adafruit.com"}
]
keywords = [
"circuitpython",
]
license = "MIT"
classifiers = [
# https://pypi.org/pypi?%3Aaction=list_classifiers
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3",
]
dynamic = ["version", "dependencies"]

[project.scripts]
circuitpython-build-bundles = "circuitpython_build_tools.scripts.build_bundles:build_bundles"
circuitpython-mpy-cross = "circuitpython_build_tools.scripts.circuitpython_mpy_cross:main"

[project.urls]
Source = "https://github.com/adafruit/circuitpython-build-tools"
Tracker = "https://github.com/adafruit/circuitpython-build-tools/issues"

[tool.setuptools]
zip-safe = false
packages = [
"circuitpython_build_tools",
"circuitpython_build_tools.scripts",
]

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

[tool.setuptools_scm]
# It would be nice to include the commit hash in the version, but that
# can't be done in a PEP 440-compatible way.
version_scheme = "no-guess-dev"
# Test PyPI does not support local versions.
local_scheme = "no-local-version"
fallback_version = "0.0.0"
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Click
requests
semver
wheel
tomli; python_version < "3.11"
platformdirs
23 changes: 0 additions & 23 deletions setup.py

This file was deleted.

Loading