-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move versioning into cell module and hardcode
- Loading branch information
1 parent
001eef7
commit 2d7bde7
Showing
2 changed files
with
6 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
"""The PyProBE package.""" | ||
import os | ||
|
||
import toml | ||
|
||
from .cell import Cell, load_archive, make_cell_list # noqa: F401 | ||
from .cell import Cell, __version__, load_archive, make_cell_list # noqa: F401 | ||
from .dashboard import launch_dashboard # noqa: F401 | ||
from .plot import Plot # noqa: F401 | ||
from .result import Result # noqa: F401 | ||
|
||
pyproject_path = os.path.join(os.path.dirname(__file__), "..", "pyproject.toml") | ||
pyproject_data = toml.load(pyproject_path) | ||
__version__ = pyproject_data["project"]["version"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters