Move package version from hcloud.__version__.VERSION
to hcloud.__version__
#234
Labels
Milestone
hcloud.__version__.VERSION
to hcloud.__version__
#234
Feature Request
Is your feature request related to a problem? Please describe.
The package version is currently stored in
hcloud.__version__.VERSION
: in thehcloud.__version__
module inside aVERSION
constant.To simplify access to the version, I propose to move and rename the
VERSION
constant (or reexport it) inside thehcloud/__init__.py
file, so we can directly access it withhcloud.__version__
.In addition, once we only support python 3.8, we could also use the
importlib.metadata
standard library to fetch the version from the package metadata.The text was updated successfully, but these errors were encountered: