Feature rye (#17)

Migrate from Poetry to Rye 
Adaptat github actions 
Group build targets in makefile
This commit is contained in:
Yax 2023-11-11 19:45:35 +01:00 committed by GitHub
parent b57c4f1ae6
commit 6d53fdecac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 208 additions and 1203 deletions

View file

@ -1,30 +1,42 @@
[tool.poetry]
[project]
name = "stacosys"
version = "3.3"
description = "STAtic COmmenting SYStem"
authors = ["Yax"]
authors = [
{ name = "Yax" }
]
readme = "README.md"
requires-python = ">= 3.8"
dependencies = [
"pyrss2gen>=1.1",
"markdown>=3.5.1",
"requests>=2.31.0",
"background>=0.2.1",
"Flask>=3.0.0",
"types-markdown>=3.5.0.1",
"pydal>=20230521.1"
]
[tool.poetry.dependencies]
python = ">=3.9.0,<3.12"
pyrss2gen = "^1.1"
markdown = "^3.1.1"
requests = "^2.25.1"
coverage = "^6.5"
background = "^0.2.1"
Flask = "^2.1.1"
types-markdown = "^3.4.2.1"
pydal = "^20221110.1"
[tool.poetry.group.dev.dependencies]
pylint = "^2.15"
mypy = "^0.991"
pytest = "^7.2.0"
coveralls = "^3.3.1"
pytest-cov = "^4.0.0"
black = "^22.10.0"
pyinstaller = "^5.9.0"
[tool.pytest.ini_options]
pythonpath = [
"src"
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pylint>=3.0.2",
"mypy>=1.6.1",
"pytest>=7.4.3",
"coveralls>=3.3.1",
"pytest-cov>=4.1.0",
"black>=23.10.1",
"pyinstaller>=6.1.0",
]
[tool.hatch.metadata]
allow-direct-references = true