77 lines
2.3 KiB
TOML
77 lines
2.3 KiB
TOML
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "WuttaFarm"
|
|
version = "0.1.5"
|
|
description = "Web app to integrate with and extend farmOS"
|
|
readme = "README.md"
|
|
authors = [
|
|
{name = "Lance Edgar", email = "lance@wuttaproject.org"}
|
|
]
|
|
maintainers = [
|
|
{name = "Lance Edgar", email = "lance@wuttaproject.org"}
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
"Natural Language :: English",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
]
|
|
license = {text = "GNU General Public License v3"}
|
|
dependencies = [
|
|
"farmOS",
|
|
"psycopg2",
|
|
"WuttaWeb[continuum]>=0.27.3",
|
|
]
|
|
|
|
|
|
[project.scripts]
|
|
"wuttafarm" = "wuttafarm.cli:wuttafarm_typer"
|
|
|
|
[project.entry-points."paste.app_factory"]
|
|
"main" = "wuttafarm.web.app:main"
|
|
|
|
[project.entry-points."wutta.config.extensions"]
|
|
"wuttafarm" = "wuttafarm.config:WuttaFarmConfig"
|
|
|
|
[project.entry-points."wutta.web.menus"]
|
|
"wuttafarm" = "wuttafarm.web.menus:WuttaFarmMenuHandler"
|
|
|
|
|
|
[project.urls]
|
|
Homepage = "https://forgejo.wuttaproject.org/lance/wuttafarm"
|
|
Repository = "https://forgejo.wuttaproject.org/lance/wuttafarm"
|
|
Issues = "https://forgejo.wuttaproject.org/lance/wuttafarm/issues"
|
|
Changelog = "https://forgejo.wuttaproject.org/lance/wuttafarm/src/branch/master/CHANGELOG.md"
|
|
|
|
|
|
[tool.commitizen]
|
|
version_provider = "pep621"
|
|
tag_format = "v$version"
|
|
update_changelog_on_bump = true
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/wuttafarm"]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
exclude = [
|
|
"style/node_modules/",
|
|
]
|
|
|
|
[tool.hatch.build.targets.sdist.force-include]
|
|
# nb. this is necessary due to git ignoring this file (iiuc)
|
|
"src/wuttafarm/web/static/css/wuttafarm-buefy.css" = "src/wuttafarm/web/static/css/wuttafarm-buefy.css"
|
|
|
|
[tool.hatch.build.targets.wheel.force-include]
|
|
# nb. this is necessary due to git ignoring this file (iiuc)
|
|
"src/wuttafarm/web/static/css/wuttafarm-buefy.css" = "src/wuttafarm/web/static/css/wuttafarm-buefy.css"
|