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"
|
name = "treetrail-srv"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
#dynamic = ["version"]
|
#dynamic = ["version"]
|
||||||
dynamic = ["version"]
|
#dynamic = ["version"]
|
||||||
description = "A fun and pedagogic tool to discover the trails and trees around"
|
description = "A fun and pedagogic tool to discover the trails and trees around"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Philippe May", email = "phil.treetrail@philome.mooo.com" }
|
{ name = "Philippe May", email = "phil.treetrail@philome.mooo.com" }
|
||||||
|
@ -35,45 +35,43 @@ requires-python = ">=3.11"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = {text = "MIT"}
|
license = {text = "MIT"}
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 3 - Alpha",
|
"Development Status :: 3 - Alpha",
|
||||||
"Framework :: FastAPI",
|
"Framework :: FastAPI",
|
||||||
"Environment :: Web Environment",
|
"Environment :: Web Environment",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"License :: OSI Approved :: GNU General Public License (GPL)",
|
"License :: OSI Approved :: GNU General Public License (GPL)",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Operating System :: MacOS :: MacOS X",
|
"Operating System :: MacOS :: MacOS X",
|
||||||
"Operating System :: POSIX",
|
"Operating System :: POSIX",
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
]
|
]
|
||||||
|
|
||||||
#[project.scripts]
|
#[project.scripts]
|
||||||
#treetrail-srv = "treetrail_srv:main"
|
#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]
|
#[tool.pdm.version]
|
||||||
#source = "scm"
|
#source = "scm"
|
||||||
#write_to = "treetrail/_version.py"
|
#write_to = "treetrail/_version.py"
|
||||||
#write_template = "__version__ = '{}'"
|
#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