|
1 | 1 | [build-system] |
2 | | -requires = ["hatchling"] |
| 2 | +requires = ["hatchling>=1.27", "hatch-vcs"] |
3 | 3 | build-backend = "hatchling.build" |
4 | 4 |
|
5 | 5 | [project] |
6 | 6 | name = "dj-figpack-codecs" |
7 | | -version = "0.2.0" |
8 | 7 | description = "DataJoint codec for storing figpack visualizations in schema-addressed OAS" |
9 | 8 | readme = "README.md" |
10 | | -license = { file = "LICENSE" } |
| 9 | +license = "Apache-2.0" |
| 10 | +license-files = ["LICENSE"] |
11 | 11 | requires-python = ">=3.10" |
| 12 | +dynamic = ["version"] |
12 | 13 | authors = [ |
13 | 14 | { name = "DataJoint", email = "info@datajoint.com" } |
14 | 15 | ] |
15 | 16 | keywords = ["datajoint", "figpack", "visualization", "neuroscience"] |
16 | 17 | classifiers = [ |
17 | 18 | "Development Status :: 3 - Alpha", |
18 | 19 | "Intended Audience :: Science/Research", |
19 | | - "License :: OSI Approved :: Apache Software License", |
20 | 20 | "Programming Language :: Python :: 3", |
21 | 21 | "Programming Language :: Python :: 3.10", |
22 | 22 | "Programming Language :: Python :: 3.11", |
23 | 23 | "Programming Language :: Python :: 3.12", |
| 24 | + "Programming Language :: Python :: 3.13", |
| 25 | + "Programming Language :: Python :: 3.14", |
24 | 26 | "Topic :: Scientific/Engineering", |
25 | 27 | ] |
26 | 28 |
|
@@ -65,3 +67,12 @@ addopts = "-v" |
65 | 67 | [tool.black] |
66 | 68 | line-length = 100 |
67 | 69 | target-version = ["py310"] |
| 70 | + |
| 71 | +# The git tag is the single source of truth for the version — mirrors dj-zarr-codecs. |
| 72 | +# The build hook writes _version.py, which the package imports, so nothing declares a |
| 73 | +# version twice and nothing needs bumping in a pull request. |
| 74 | +[tool.hatch.version] |
| 75 | +source = "vcs" |
| 76 | + |
| 77 | +[tool.hatch.build.hooks.vcs] |
| 78 | +version-file = "src/dj_figpack_codecs/_version.py" |
0 commit comments