We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba590a1 commit 32847c9Copy full SHA for 32847c9
pyproject.toml
@@ -2,17 +2,20 @@
2
build-backend = "setuptools.build_meta"
3
requires = [
4
"setuptools",
5
- "numpy<2",
+ "numpy>=2",
6
]
7
8
[project]
9
name = "pocky"
10
-version = "1.0"
+dynamic = ["version"]
11
requires-python = ">=3.10"
12
13
[tool.setuptools]
14
include-package-data = false
15
16
+[tool.setuptools.dynamic]
17
+version = {attr = "pocky.__version__"}
18
+
19
[tool.setuptools.packages.find]
20
namespaces = true
21
where = ["src"]
src/pocky/__init__.py
@@ -1,5 +1,7 @@
1
from .ext import *
+__version__ = '1.1'
def get_include():
import os
import pocky.ext as ext
0 commit comments