picmi-standard / picmi

Standard input format for Particle-In-Cell codes
https://picmi.readthedocs.io
Other
35 stars 25 forks source link

Change the versioning #85

Closed dpgrote closed 1 year ago

dpgrote commented 1 year ago

This PR changes how the version number is stored. Here, it is saved in a separate file version.py that is imported by setup.py and by __init__.py. This makes the version number available at run time, using the standard attribute name __version__.

This PR also updates the version numbering system. Previously, the "patch" number was being updated, the third number of the version. With this PR, now the "minor" version number, the second number, is updated which is more the standard method when new features are added. The previous patch version number is moved to the minor version number.

After this PR is merged, the version number will be updated in a separate commit.