refactor: switch to dynamic versioning in package configuration

- Replace static version "1.3.1" with dynamic versioning in pyproject.toml
- Configure setuptools to not include any packages by default
- Set package=false in uv configuration to prevent package building
- Update uv.lock to reflect version changes

Signed-off-by: -LAN- <laipz8200@outlook.com>
pull/19019/head
-LAN- 1 year ago
parent b8bb45b106
commit 76b69808f3
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF

@ -1,6 +1,6 @@
[project] [project]
name = "dify-api" name = "dify-api"
version = "1.3.1" dynamic = ["version"]
requires-python = ">=3.11,<3.13" requires-python = ">=3.11,<3.13"
dependencies = [ dependencies = [
@ -89,8 +89,12 @@ dependencies = [
# Before adding new dependency, consider place it in # Before adding new dependency, consider place it in
# alphabet order (a-z) and suitable group. # alphabet order (a-z) and suitable group.
[tool.setuptools]
packages = []
[tool.uv] [tool.uv]
default-groups = ["storage", "tools", "vdb"] default-groups = ["storage", "tools", "vdb"]
package = false
[dependency-groups] [dependency-groups]

@ -1155,7 +1155,6 @@ wheels = [
[[package]] [[package]]
name = "dify-api" name = "dify-api"
version = "1.3.1"
source = { virtual = "." } source = { virtual = "." }
dependencies = [ dependencies = [
{ name = "authlib" }, { name = "authlib" },

Loading…
Cancel
Save