Skip to content

Commit

Permalink
dynamic version
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Feb 5, 2024
1 parent 5d83d1a commit b642e55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"

[project]
name = "astrometry_azel"
version = "1.3.0"
description = "Register images to geographic maps using the astrometry.net program"
keywords = ["astrometry", "plate-scale", "astronomy", "aurora"]
classifiers = [
Expand All @@ -15,7 +14,7 @@ classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Atmospheric Science"
]
dynamic = ["readme"]
dynamic = ["readme", "version"]
requires-python = ">=3.8"
dependencies = ["python-dateutil", "numpy", "astropy", "xarray", "netcdf4"]

Expand All @@ -25,6 +24,7 @@ lint = ["flake8", "flake8-bugbear", "flake8-builtins", "flake8-blind-except", "m

[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
version = {attr = "astrometry_azel.__version__"}

[tool.black]
line-length = 100
Expand Down
2 changes: 2 additions & 0 deletions src/astrometry_azel/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from .base import fits2azel, fits2radec, radec2azel, doSolve

__all__ = ["fits2azel", "fits2radec", "radec2azel", "doSolve"]

__version__ = "1.3.0"

0 comments on commit b642e55

Please sign in to comment.