Skip to content

Commit a710a93

Browse files
committed
organize pyproject
1 parent 49ff4a7 commit a710a93

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

custom_components/reflex_github_button/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .github_button import LiteralButtonType, github_button
22

3-
__version__ = "0.1.0"
3+
__version__ = "0.1.2"
44

55
__all__ = [
66
"LiteralButtonType",

pyproject.toml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,27 @@
22
requires = ["setuptools", "wheel"]
33
build-backend = "setuptools.build_meta"
44

5+
[project.optional-dependencies]
6+
dev = ["build", "twine"]
7+
8+
[tool.setuptools.packages.find]
9+
where = ["custom_components"]
10+
11+
[tool.setuptools.dynamic]
12+
version = { attr = "reflex_github_button.__version__" }
13+
14+
[tool.hatch.version]
15+
path = "custom_components/reflex_github_button/__init__.py"
16+
517
[project]
618
name = "reflex-github-button"
7-
version = "0.0.1"
819
description = "Reflex custom component github-button"
920
readme = "README.md"
1021
license = { text = "Apache-2.0" }
1122
requires-python = ">=3.10"
1223
authors = [{ name = "", email = "[email protected]" }]
1324
keywords = ["reflex","reflex-custom-components"]
25+
dynamic = ["version"]
1426

1527
dependencies = ["reflex>=0.7.5"]
1628

@@ -26,16 +38,10 @@ classifiers = [
2638
]
2739

2840
[project.urls]
29-
# documentation = "https://timchild.github.io/reflex-github-buttons/about/"
30-
repository = "https://github.com/TimChild/reflex-github-buttons"
31-
issues = "https://github.com/TimChild/reflex-github-buttons/issues"
32-
homepage = "https://reflex-github-buttons-demo.adventuresoftim.com"
33-
34-
[project.optional-dependencies]
35-
dev = ["build", "twine"]
36-
37-
[tool.setuptools.packages.find]
38-
where = ["custom_components"]
41+
# documentation = "https://timchild.github.io/reflex-github-button/about/"
42+
repository = "https://github.com/TimChild/reflex-github-button"
43+
issues = "https://github.com/TimChild/reflex-github-button/issues"
44+
homepage = "https://reflex-github-button-demo.adventuresoftim.com"
3945

4046
[tool.pyright]
4147
venvPath = "."

uv.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)