6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-10 23:30:59 +00:00

fix: nightly package version

The version of the nightly python package should not include the "-nightly"
suffix. That's because when we `pip install -e` tutor plugins, pip also
installs the latest tutor release, as part of the requirements. This overrides
the local (nightly) installation of tutor.

See: https://app.slack.com/client/T02SNA1T6/C02V3GHE3UP
This commit is contained in:
Régis Behmo 2022-03-24 15:45:28 +01:00 committed by Régis Behmo
parent a25ae73031
commit fa32269e91

View File

@ -40,7 +40,7 @@ ABOUT = load_about()
setup( setup(
name="tutor", name="tutor",
version=ABOUT["__version__"], version=ABOUT["__version__"].split("-")[0], # drop "-nightly" suffix if present
url="https://docs.tutor.overhang.io/", url="https://docs.tutor.overhang.io/",
project_urls={ project_urls={
"Documentation": "https://docs.tutor.overhang.io/", "Documentation": "https://docs.tutor.overhang.io/",