Closed pastewka closed 1 year ago
For completeness, if we want to add a fourth or fifth way of version discovery, can also try to import the static version file written by setuptools_scm. This usually works well for a packaged release, see https://github.com/livMatS/dtool-lookup-gui/blob/3df25573302b68b0e5f63170b885b2696d5d4fb2/dtool_lookup_gui/__init__.py#L44-L63 together with https://github.com/livMatS/dtool-lookup-gui/blob/3df25573302b68b0e5f63170b885b2696d5d4fb2/setup.py#L62-L68
setuptools_scm
For completeness, if we want to add a fourth or fifth way of version discovery, can also try to import the static version file written by
setuptools_scm
. This usually works well for a packaged release, see https://github.com/livMatS/dtool-lookup-gui/blob/3df25573302b68b0e5f63170b885b2696d5d4fb2/dtool_lookup_gui/__init__.py#L44-L63 together with https://github.com/livMatS/dtool-lookup-gui/blob/3df25573302b68b0e5f63170b885b2696d5d4fb2/setup.py#L62-L68