Closed jeromekelleher closed 11 months ago
What's your preferred way of doing this? Seems like there are a bunch: https://stackoverflow.com/questions/72167802/adding-version-attribute-to-python-module
It's a mess all right. The way we've settled on for tskit packages is to use setuptools_scm (e.g. in tszip) where possible
It's helpful to set an
__version__
attribute so users can programatically see what version they are using.