Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pySimBlocks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
# Authors: see Authors.txt
# ******************************************************************************

from importlib.metadata import version, PackageNotFoundError

try:
__version__ = version("pySimBlocks")
except PackageNotFoundError:
__version__ = "unknown"

from pySimBlocks.core import Model, Simulator, SimulationConfig, PlotConfig

__all__ = [
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ authors = [
{name = "Antoine Alessandrini", email = "antoine.alessandrini@univ-lille.fr"}
]
readme = "README.md"
license = {file = "LICENSE.md"}
license = "LGPL-3.0-or-later"
license-files = ["LICENSE.md"]
requires-python = ">=3.10"
keywords = ["simulation", "block-diagram", "control", "discrete-time", "pyside6"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
Loading