fix: nightly package version

The package version number may not include the "-nightly" suffix.
Otherwise, installation fails with:

   setuptools.extern.packaging.version.InvalidVersion: Invalid version: '15.0.7-nightly'
This commit is contained in:
Régis Behmo 2023-05-26 18:47:48 +02:00
parent 5d6580c82b
commit a7ad3758b5
2 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ with io.open(
setup(
name="tutor-notes",
version=about["__version__"],
version=about["__package_version__"],
url="https://docs.tutor.overhang.io/",
project_urls={
"Documentation": "https://docs.tutor.overhang.io/",

View File

@ -1,4 +1,5 @@
__version__ = "15.0.4"
__package_version__ = __version__
# Handle version suffix for nightly, just like tutor core.
__version_suffix__ = "nightly"