Use dynamic versioning
This commit is contained in:
parent
c7deb34bae
commit
ea7e3087cd
5 changed files with 157 additions and 150 deletions
109
pyproject.toml
109
pyproject.toml
|
@ -1,77 +1,80 @@
|
|||
[project]
|
||||
name = "treetrail-backend"
|
||||
version = "0.0.0"
|
||||
#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" }
|
||||
]
|
||||
authors = [{ name = "Philippe May", email = "phil.treetrail@philome.mooo.com" }]
|
||||
dependencies = [
|
||||
"aiofiles",
|
||||
"aiohttp-client-cache",
|
||||
"aiosqlite",
|
||||
"asyncpg",
|
||||
"fastapi",
|
||||
"geoalchemy2",
|
||||
"geopandas",
|
||||
"httptools>=0.6.1",
|
||||
"orjson",
|
||||
"pandas",
|
||||
"passlib[bcrypt]",
|
||||
"pillow",
|
||||
"psycopg2-binary",
|
||||
"pyarrow",
|
||||
"pydantic-settings",
|
||||
"python-jose[cryptography]",
|
||||
"python-multipart",
|
||||
"requests",
|
||||
"sqlalchemy[asyncio]",
|
||||
"sqlmodel",
|
||||
"uvicorn[standard]",
|
||||
"uvloop",
|
||||
"aiofiles",
|
||||
"aiohttp-client-cache",
|
||||
"aiosqlite",
|
||||
"asyncpg",
|
||||
"fastapi",
|
||||
"geoalchemy2",
|
||||
"geopandas",
|
||||
"httptools>=0.6.1",
|
||||
"orjson",
|
||||
"pandas",
|
||||
"passlib[bcrypt]",
|
||||
"pillow",
|
||||
"psycopg2-binary",
|
||||
"pyarrow>=19.0.1",
|
||||
"pydantic-settings",
|
||||
"python-jose[cryptography]",
|
||||
"python-multipart",
|
||||
"requests",
|
||||
"sqlalchemy[asyncio]",
|
||||
"sqlmodel",
|
||||
"uvicorn[standard]",
|
||||
"uvloop",
|
||||
]
|
||||
requires-python = ">=3.11"
|
||||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
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-backend = "treetrail_backend:main"
|
||||
|
||||
[dependency-groups]
|
||||
dev = ["dunamai>=1.23.0", "ipdb>=0.13.13"]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
requires = ["hatchling", "uv-dynamic-versioning"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.version]
|
||||
source = "uv-dynamic-versioning"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/treetrail"]
|
||||
|
||||
[tool.uv-dynamic-versioning]
|
||||
style = "semver"
|
||||
|
||||
[tool.uv]
|
||||
package = true
|
||||
dev-dependencies = [
|
||||
"httpx",
|
||||
"ipdb",
|
||||
"pandas-stubs",
|
||||
"pytest",
|
||||
"types-Pillow",
|
||||
"types-PyYAML",
|
||||
"types-aiofiles",
|
||||
"types-passlib",
|
||||
"types-python-jose",
|
||||
"types-requests",
|
||||
"httpx",
|
||||
"ipdb",
|
||||
"pandas-stubs",
|
||||
"pytest",
|
||||
"types-Pillow",
|
||||
"types-PyYAML",
|
||||
"types-aiofiles",
|
||||
"types-passlib",
|
||||
"types-python-jose",
|
||||
"types-requests",
|
||||
]
|
||||
|
||||
#[tool.pdm.version]
|
||||
#source = "scm"
|
||||
#write_to = "treetrail/_version.py"
|
||||
#write_template = "__version__ = '{}'"
|
||||
#
|
||||
[tool.black]
|
||||
line-length = 98
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue