EnzymeML / PyEnzyme

🧬 - Data management and modeling framework based on EnzymeML.
BSD 2-Clause "Simplified" License
23 stars 9 forks source link

add `__version__` field to pyenzyme #38

Closed fbergmann closed 2 years ago

fbergmann commented 2 years ago

It would be nice if we could consistently tell which version of pyenzyme we are dealing with. Currently that is encoded only in the setup.py file (which currently is 1.1.3), the badge in the readme says the current version is 1.2.3. At runtime however, we cant tell. What packages frequently do is to have a __version__ field that is populated in the __init__.py file of the package.

There are also some automated ways, of always keeping the version field consistent. For example: