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
|
||||
public
|
||||
*.swp
|
||||
config.yaml
|
||||
config.yaml
|
||||
dist
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[build-system]
|
||||
requires = ["setuptools", "setuptools-scm"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "argos-monitoring"
|
||||
version = "0.1.0"
|
||||
dynamic = ["version"]
|
||||
description = "Distributed supervision tool for HTTP."
|
||||
authors = [
|
||||
{ name = "Alexis Métaireau", email = "alexis@notmyidea.org" },
|
||||
|
@ -12,10 +12,12 @@ authors = [
|
|||
]
|
||||
readme = "README.md"
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
||||
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
||||
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
||||
"Intended Audience :: System Administrators",
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
|
@ -49,7 +51,7 @@ dev = [
|
|||
"respx>=0.20,<1",
|
||||
"ruff==0.1.5,<1",
|
||||
"sphinx-autobuild",
|
||||
"build>=1.2.1"
|
||||
"hatch==1.9.4",
|
||||
]
|
||||
docs = [
|
||||
"cogapp",
|
||||
|
@ -66,9 +68,20 @@ repository = "https://framagit.org/framasoft/framaspace/argos"
|
|||
"Funding" = "https://framasoft.org/en/#support"
|
||||
"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"]
|
||||
|
||||
[tool.hatch.version]
|
||||
path = "argos/__init__.py"
|
||||
|
||||
|
||||
[project.scripts]
|
||||
argos = "argos.commands:cli"
|
||||
|
||||
|
|
Loading…
Reference in a new issue