Skip to content

Commit

Permalink
make docs be version-specific
Browse files Browse the repository at this point in the history
  • Loading branch information
gelzinyte committed Aug 16, 2024
1 parent c163530 commit 0686077
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#
import os
import sys
from wfl import __version__

sys.path.insert(0, os.path.abspath('../../wfl'))


Expand All @@ -21,6 +23,8 @@
#copyright = '2021, N. Bernstein, T. K. Stenczel, E. Gelzinyte'
author = 'N. Bernstein, T. K. Stenczel, E. Gelzinyte'

release = __version__


# -- General configuration ---------------------------------------------------

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[project]

name = "wfl"
version = "0.3.0"
requires-python = ">=3.9"
dependencies = [ "click>=7.0", "numpy<2", "ase>=3.22.1", "pyyaml", "spglib",
"docstring_parser", "expyre-wfl", "universalSOAP" ]
readme = "README.md"
license = { file = "LICENSE" }
dynamic = ["version"]

[project.scripts]
wfl = "wfl.cli.cli:cli"
Expand All @@ -16,3 +16,6 @@ license = { file = "LICENSE" }

[tool.setuptools.packages.find]
exclude = [ "test*" ]

[tool.setuptools.dynamic]
version = {attr = "wfl.__version__"}
1 change: 1 addition & 0 deletions wfl/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .__version__ import __version__
1 change: 1 addition & 0 deletions wfl/__version__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.3.0"

0 comments on commit 0686077

Please sign in to comment.