If not exactly on a release, the version number includes the exact git hash:
Beam trace me up, Scotty!
scotty version 2.3.1.dev2+g9c03df0
See setuptools_scm for details of the version numbering scheme.
There is an important caveat to this: when developing locally, the version number is only updated when you run pip install, even with editable installs!
Basically, this means when doing production work, you should make sure you pip install scotty.
(built on top of #45)
@valerian-chen I've tagged some commits that I think correspond to rough versions: https://github.com/valerian-chen/Scotty/tags Let me know if you want to change these.
Scotty will now print the version:
If not exactly on a release, the version number includes the exact git hash:
See setuptools_scm for details of the version numbering scheme.
There is an important caveat to this: when developing locally, the version number is only updated when you run
pip install
, even with editable installs! Basically, this means when doing production work, you should make sure youpip install
scotty.