-
Notifications
You must be signed in to change notification settings - Fork 857
Use setuptools_scm for dynamic versioning via Git tags #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 32 commits
6bdd92f
bc16298
39d6ae7
0a0468c
e91e5a6
9d00f8c
5999b89
49b6e89
08c1023
07d3e13
5892f4c
1c253c7
4e2ebdf
42a7b01
a371b04
7c98b28
3dffe77
48eef61
e1b1dd9
e787e6a
4429275
24e4d08
098dab9
6b16762
2245e6d
f8fab0a
f232a75
9075a16
70c3a98
cb98c87
0cb9c51
209d138
435bac6
9e5fb72
36de66f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| [build-system] | ||
| requires = ["hatchling", "tomli"] | ||
| build-backend = "hatchling.build" | ||
| requires = ["setuptools", "setuptools_scm[toml]", "tomli", "wheel"] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "fastapi-mcp" | ||
| version = "0.3.4" | ||
| dynamic = ["version"] | ||
| description = "Automatic MCP server generator for FastAPI applications - converts FastAPI endpoints to MCP tools for LLM integration" | ||
| readme = "README.md" | ||
| requires-python = ">=3.10" | ||
|
|
@@ -35,6 +35,7 @@ dependencies = [ | |
| "uvicorn>=0.20.0", | ||
| "httpx>=0.24.0", | ||
| "requests>=2.25.0", | ||
| "inspect-mate>=0.0.2", | ||
| "tomli>=2.2.1", | ||
| ] | ||
|
|
||
|
|
@@ -59,8 +60,11 @@ Documentation = "https://github.com/tadata-org/fastapi_mcp#readme" | |
| "Source Code" = "https://github.com/tadata-org/fastapi_mcp" | ||
| "Changelog" = "https://github.com/tadata-org/fastapi_mcp/blob/main/CHANGELOG.md" | ||
|
|
||
| [tool.hatch.build.targets.wheel] | ||
| packages = ["fastapi_mcp"] | ||
| #[tool.hatch.build.targets.wheel] | ||
| #packages = ["fastapi_mcp"] | ||
|
||
|
|
||
| [project.scripts] | ||
| fastapi-mcp = "fastapi_mcp.cli:app" | ||
|
|
||
| [tool.ruff] | ||
| line-length = 120 | ||
|
|
@@ -70,3 +74,9 @@ target-version = "py312" | |
| asyncio_mode = "auto" | ||
| testpaths = ["tests"] | ||
| python_files = "test_*.py" | ||
|
|
||
| [tool.setuptools_scm] | ||
| # This tells setuptools_scm to get the version automatically from Git tags | ||
| version_scheme = "post-release" | ||
| local_scheme = "no-local-version" | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix the formatting in your YMLs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, done.