Switched to PDM for package management
This commit is contained in:
@@ -1,18 +1,44 @@
|
||||
[project]
|
||||
name = "Spoolman"
|
||||
name = "spoolman"
|
||||
version = "0.7.0"
|
||||
description = "A web service that keeps track of 3D printing spools."
|
||||
version = "0.1.0"
|
||||
authors = [
|
||||
{name = "Donkie", email = "daniel.cf.hultgren@gmail.com"},
|
||||
]
|
||||
dependencies = [
|
||||
"uvicorn~=0.22.0",
|
||||
"httptools>=0.5.0; platform_machine != \"armv7l\"",
|
||||
"uvloop!=0.15.0,!=0.15.1,>=0.14.0; platform_machine != \"armv7l\" and sys_platform != \"win32\" and (sys_platform != \"cygwin\" and platform_python_implementation != \"PyPy\")",
|
||||
"fastapi~=0.99",
|
||||
"SQLAlchemy[aiomysql,aiosqlite,asyncio,postgresql_asyncpg]~=2.0",
|
||||
"pydantic~=1.10",
|
||||
"platformdirs~=3.8",
|
||||
"alembic~=1.11",
|
||||
"scheduler~=0.8",
|
||||
"sqlalchemy-cockroachdb~=2.0",
|
||||
"asyncpg~=0.27",
|
||||
"psycopg2-binary~=2.9",
|
||||
"setuptools~=68.0",
|
||||
]
|
||||
requires-python = ">=3.9"
|
||||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
dynamic = ["dependencies"]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
dependencies = {file = ["requirements.txt"]}
|
||||
[tool.pdm.dev-dependencies]
|
||||
dev = [
|
||||
"ruff==0.0.277",
|
||||
"black~=23.3",
|
||||
"pre-commit~=3.3",
|
||||
"pytest~=7.3",
|
||||
"pytest-asyncio~=0.21",
|
||||
"httpx~=0.24",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = [""]
|
||||
exclude = ["client"]
|
||||
[build-system]
|
||||
requires = ["pdm-backend"]
|
||||
build-backend = "pdm.backend"
|
||||
|
||||
[tool.pdm.scripts]
|
||||
docs = {call = "spoolman.docs:generate_docs"}
|
||||
|
||||
[tool.ruff]
|
||||
select = ["ALL"]
|
||||
@@ -27,10 +53,3 @@ target-version = "py39"
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
target-version = ['py39']
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=67.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project.scripts]
|
||||
spoolman_docs = "spoolman.docs:generate_docs"
|
||||
|
||||
Reference in New Issue
Block a user