mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
build: move to hatch
for packaging
This commit is contained in:
parent
02892bec17
commit
01b5cf06de
2 changed files with 24 additions and 10 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -5,4 +5,5 @@ venv
|
||||||
.env
|
.env
|
||||||
public
|
public
|
||||||
*.swp
|
*.swp
|
||||||
config.yaml
|
config.yaml
|
||||||
|
dist
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools", "setuptools-scm"]
|
requires = ["hatchling"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "argos-monitoring"
|
name = "argos-monitoring"
|
||||||
version = "0.1.0"
|
dynamic = ["version"]
|
||||||
description = "Distributed supervision tool for HTTP."
|
description = "Distributed supervision tool for HTTP."
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Alexis Métaireau", email = "alexis@notmyidea.org" },
|
{ name = "Alexis Métaireau", email = "alexis@notmyidea.org" },
|
||||||
|
@ -12,10 +12,12 @@ authors = [
|
||||||
]
|
]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
"Topic :: Internet :: WWW/HTTP",
|
"Programming Language :: Python :: 3.12",
|
||||||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
"Topic :: Internet :: WWW/HTTP",
|
||||||
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
||||||
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
||||||
|
"Intended Audience :: System Administrators",
|
||||||
]
|
]
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
@ -49,7 +51,7 @@ dev = [
|
||||||
"respx>=0.20,<1",
|
"respx>=0.20,<1",
|
||||||
"ruff==0.1.5,<1",
|
"ruff==0.1.5,<1",
|
||||||
"sphinx-autobuild",
|
"sphinx-autobuild",
|
||||||
"build>=1.2.1"
|
"hatch==1.9.4",
|
||||||
]
|
]
|
||||||
docs = [
|
docs = [
|
||||||
"cogapp",
|
"cogapp",
|
||||||
|
@ -66,9 +68,20 @@ repository = "https://framagit.org/framasoft/framaspace/argos"
|
||||||
"Funding" = "https://framasoft.org/en/#support"
|
"Funding" = "https://framasoft.org/en/#support"
|
||||||
"Tracker" = "https://framagit.org/framasoft/framaspace/argos/-/issues"
|
"Tracker" = "https://framagit.org/framasoft/framaspace/argos/-/issues"
|
||||||
|
|
||||||
[tool.setuptools]
|
[tool.hatch.build.targets.sdist]
|
||||||
|
include = [
|
||||||
|
"/argos",
|
||||||
|
"/docs",
|
||||||
|
"/tests",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["argos"]
|
packages = ["argos"]
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
path = "argos/__init__.py"
|
||||||
|
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
argos = "argos.commands:cli"
|
argos = "argos.commands:cli"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue