idaholab / MontePy

MontePy is the most user friendly Python library (API) to read, edit, and write MCNP input files.
https://www.montepy.org/
MIT License
32 stars 7 forks source link

Fixed test_version to ensure it always has _version.py #574

Closed MicahGale closed 4 weeks ago

MicahGale commented 1 month ago

Description

This fixes test_version to make no assumptions about the users setup. It does this by running setuptools_scm first if the _version.py file is not present.

Fixes #572

Checklist