File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11include src/__init__.pyi src/py.typed
22include src/*.h
3+ include VERSION
Original file line number Diff line number Diff line change 1+ 1.2.0
2+
Original file line number Diff line number Diff line change @@ -9,11 +9,12 @@ build-backend = "setuptools.build_meta"
99
1010[project ]
1111name = " arraykit"
12- version = " 1.2.0"
1312description = " Array utilities for StaticFrame"
1413readme = { file = " README.rst" , content-type = " text/x-rst" }
1514requires-python = " >=3.10"
1615
16+ dynamic = [" version" ]
17+
1718authors = [
1819 { name = " Christopher Ariza" },
1920 { name = " Brandt Bucher" },
@@ -50,3 +51,7 @@ package-dir = { "arraykit" = "src" }
5051
5152[tool .setuptools .package-data ]
5253arraykit = [" __init__.pyi" , " py.typed" ]
54+
55+ [tool .setuptools .dynamic ]
56+ version = { file = " VERSION" }
57+
Original file line number Diff line number Diff line change 11from setuptools import setup , Extension
22from setuptools .command .build_ext import build_ext
33import site , os
4+ from pathlib import Path
45
5- AK_VERSION = "1.2.0"
6+ AK_VERSION = Path ( "VERSION" ). read_text ( encoding = "utf-8" ). strip ()
67
78def get_ext_dir (* components : tp .Iterable [str ]) -> tp .Sequence [str ]:
89 dirs = []
You can’t perform that action at this time.
0 commit comments