mirror of
https://github.com/pimoroni/grow-python
synced 2025-10-24 15:19:24 +00:00
126 lines
2.4 KiB
TOML
126 lines
2.4 KiB
TOML
[build-system]
|
|
requires = ["hatchling", "hatch-fancy-pypi-readme"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "growhat"
|
|
dynamic = ["version", "readme"]
|
|
description = "Grow HAT Mini. A plant valet add-on for the Raspberry Pi"
|
|
license = {file = "LICENSE"}
|
|
requires-python = ">= 3.7"
|
|
authors = [
|
|
{ name = "Philip Howard", email = "phil@pimoroni.com" },
|
|
{ name = "Paul Beech", email = "paul@pimoroni.com" },
|
|
]
|
|
maintainers = [
|
|
{ name = "Philip Howard", email = "phil@pimoroni.com" },
|
|
]
|
|
keywords = [
|
|
"Pi",
|
|
"Raspberry",
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Topic :: Software Development",
|
|
"Topic :: Software Development :: Libraries",
|
|
"Topic :: System :: Hardware",
|
|
]
|
|
dependencies = [
|
|
"ltr559",
|
|
"st7735>=0.0.5",
|
|
"pyyaml",
|
|
"fonts",
|
|
"font-roboto"
|
|
]
|
|
|
|
[project.urls]
|
|
GitHub = "https://www.github.com/pimoroni/grow-python"
|
|
Homepage = "https://www.pimoroni.com"
|
|
|
|
[tool.hatch.version]
|
|
path = "grow/__init__.py"
|
|
|
|
[tool.hatch.build]
|
|
include = [
|
|
"grow",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"LICENSE"
|
|
]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"*"
|
|
]
|
|
exclude = [
|
|
".*",
|
|
"dist"
|
|
]
|
|
|
|
[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
|
content-type = "text/markdown"
|
|
fragments = [
|
|
{ path = "README.md" },
|
|
{ text = "\n" },
|
|
{ path = "CHANGELOG.md" }
|
|
]
|
|
|
|
[tool.ruff]
|
|
exclude = [
|
|
'.tox',
|
|
'.egg',
|
|
'.git',
|
|
'__pycache__',
|
|
'build',
|
|
'dist'
|
|
]
|
|
line-length = 200
|
|
|
|
[tool.codespell]
|
|
skip = """
|
|
./service/install.sh,\
|
|
./.tox,\
|
|
./.egg,\
|
|
./.git,\
|
|
./__pycache__,\
|
|
./build,\
|
|
./dist.\
|
|
"""
|
|
|
|
[tool.isort]
|
|
line_length = 200
|
|
|
|
[tool.black]
|
|
line-length = 200
|
|
|
|
[tool.check-manifest]
|
|
ignore = [
|
|
'.stickler.yml',
|
|
'boilerplate.md',
|
|
'check.sh',
|
|
'install.sh',
|
|
'uninstall.sh',
|
|
'Makefile',
|
|
'tox.ini',
|
|
'tests/*',
|
|
'examples/*',
|
|
'.coveragerc',
|
|
'requirements-dev.txt',
|
|
'requirements-examples.txt'
|
|
]
|
|
|
|
[tool.pimoroni]
|
|
apt_packages = []
|
|
configtxt = []
|
|
commands = []
|