Skip to content

Add Python module version attributes#21

Open
yrasool wants to merge 1 commit into
lanl:mainfrom
yrasool:fix-python-module-version
Open

Add Python module version attributes#21
yrasool wants to merge 1 commit into
lanl:mainfrom
yrasool:fix-python-module-version

Conversation

@yrasool

@yrasool yrasool commented Jun 23, 2026

Copy link
Copy Markdown

Fixes #17.

Adds __version_info__ and __version__ to the Python module so callers can read the package version at runtime.

Adds a small test for the version tuple, string, and string derivation.

Validation:

  • git diff --cached --check
  • py -3.10 -m py_compile python\mcnptools\__init__.py python\mcnptools_tests\__init__.py python\mcnptools_tests\versiontests.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add __version__ to Python module

1 participant