Skip to content

Commit 64b7404

Browse files
committed
version now exclusively in causalpy.__version__
1 parent 9a9d415 commit 64b7404

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ cd docs
6161
make html
6262
```
6363

64-
Sometimes not all changes are recognised. In that case run:
64+
Sometimes not all changes are recognised. In that case run this (again from within the `docs` folder):
6565

6666
```bash
6767
make clean && make html

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ py-modules = ['causalpy', 'causalpy.data']
1111

1212
[project]
1313
name = "CausalPy"
14-
version = "0.0.9"
14+
dynamic = ["version"]
1515
description = "Causal inference for quasi-experiments in Python"
1616
readme = "README.md"
1717
license = {file = "LICENSE"}
@@ -39,6 +39,10 @@ dependencies = [
3939
"xarray>=v2022.11.0",
4040
]
4141

42+
# get the version from causalpy.__version__
43+
[tool.setuptools.dynamic]
44+
version = {attr = "package.__version__"}
45+
4246
# List additional groups of dependencies here (e.g. development dependencies). Users
4347
# will be able to install these using the "extras" syntax, for example:
4448
#

0 commit comments

Comments
 (0)