Skip to content

Commit

Permalink
Add dynamic version and set it to '1.0.1' for first release
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Aug 30, 2023
1 parent fa06fa8 commit 6e9bcc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[tool.poetry]
name = "PASCal"
version = "2.0.0"
dynamic = ["version"]
description = "Principal Axis Strain Calculator (PASCal) is a web tool designed to help scientists analyse non-ambient lattice parameter data."
readme = "README.md"
keywords = ["materials", "chemistry", "fitting", "strain", "lattice"]
Expand All @@ -20,6 +20,9 @@ homepage = "https://pascal-notts.azurewebsites.net"
repository = "https://github.com/MJCliffe/PASCal"
packages = [{ include = "PASCal", from = "src" }]

[tool.setuptools.dynamic]
version = {attr = "PASCal.__version__"}

[tool.poetry.dependencies]
python = "^3.8"
Flask = "*"
Expand Down
1 change: 1 addition & 0 deletions src/PASCal/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "1.0.1"

0 comments on commit 6e9bcc6

Please sign in to comment.