Skip to content

Commit

Permalink
(fix): use src packaging (properly)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold committed Dec 4, 2024
1 parent d222656 commit 4d5b681
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ test = ["pytest"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "generate_tiff_offsets/_version.py"
version-file = "src/generate_tiff_offsets/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/anndata", "src/testing"]
packages = ["src/generate_tiff_offsets"]
File renamed without changes.
16 changes: 16 additions & 0 deletions src/generate_tiff_offsets/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# file generated by setuptools_scm
# don't change, don't track in version control
TYPE_CHECKING = False
if TYPE_CHECKING:
from typing import Tuple, Union
VERSION_TUPLE = Tuple[Union[int, str], ...]
else:
VERSION_TUPLE = object

version: str
__version__: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = '0.1.9.dev0+gd222656.d20241204'
__version_tuple__ = version_tuple = (0, 1, 9, 'dev0', 'gd222656.d20241204')
File renamed without changes.

0 comments on commit 4d5b681

Please sign in to comment.