Adjust pyproject for uv
This commit is contained in:
parent
f4cf78603a
commit
c8ce403c61
2 changed files with 1743 additions and 32 deletions
|
@ -2,7 +2,7 @@
|
|||
name = "treetrail-srv"
|
||||
version = "0.1.0"
|
||||
#dynamic = ["version"]
|
||||
dynamic = ["version"]
|
||||
#dynamic = ["version"]
|
||||
description = "A fun and pedagogic tool to discover the trails and trees around"
|
||||
authors = [
|
||||
{ name = "Philippe May", email = "phil.treetrail@philome.mooo.com" }
|
||||
|
@ -35,45 +35,43 @@ requires-python = ">=3.11"
|
|||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Framework :: FastAPI",
|
||||
"Environment :: Web Environment",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU General Public License (GPL)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: MacOS :: MacOS X",
|
||||
"Operating System :: POSIX",
|
||||
"Programming Language :: Python",
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Framework :: FastAPI",
|
||||
"Environment :: Web Environment",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU General Public License (GPL)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: MacOS :: MacOS X",
|
||||
"Operating System :: POSIX",
|
||||
"Programming Language :: Python",
|
||||
]
|
||||
|
||||
#[project.scripts]
|
||||
#treetrail-srv = "treetrail_srv:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/treetrail"]
|
||||
|
||||
[tool.uv]
|
||||
dev-dependencies = [
|
||||
"httpx",
|
||||
"ipdb",
|
||||
"pandas-stubs",
|
||||
"pytest",
|
||||
"types-Pillow",
|
||||
"types-PyYAML",
|
||||
"types-aiofiles",
|
||||
"types-passlib",
|
||||
"types-python-jose",
|
||||
"types-requests",
|
||||
]
|
||||
|
||||
#[tool.pdm.build]
|
||||
#includes = ["src/"]
|
||||
#
|
||||
#[tool.pdm.version]
|
||||
#source = "scm"
|
||||
#write_to = "treetrail/_version.py"
|
||||
#write_template = "__version__ = '{}'"
|
||||
#
|
||||
#[tool.pdm.dev-dependencies]
|
||||
#dev = [
|
||||
# "ipdb",
|
||||
# "pandas-stubs",
|
||||
# "types-Pillow",
|
||||
# "types-PyYAML",
|
||||
# "types-aiofiles",
|
||||
# "types-passlib",
|
||||
# "types-python-jose",
|
||||
# "types-requests",
|
||||
#]
|
||||
#test = [
|
||||
# "pytest>=8.3.3",
|
||||
# "httpx>=0.27.2",
|
||||
#]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue