fix: nightly package version
The package version may not include the "-nightly" suffix. Otherwise,
`pip install .` fails with:
setuptools.extern.packaging.version.InvalidVersion: Invalid version: '...-nightly'
This commit is contained in:
parent
f2fb5680eb
commit
06feeb087e
2
setup.py
2
setup.py
@ -26,7 +26,7 @@ ABOUT = load_about()
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="tutor-android",
|
name="tutor-android",
|
||||||
version=ABOUT["__version__"],
|
version=ABOUT["__package_version__"],
|
||||||
url="https://github.com/overhangio/tutor-android",
|
url="https://github.com/overhangio/tutor-android",
|
||||||
project_urls={
|
project_urls={
|
||||||
"Code": "https://github.com/overhangio/tutor-android",
|
"Code": "https://github.com/overhangio/tutor-android",
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
__version__ = "16.0.0"
|
__version__ = "16.0.0"
|
||||||
|
__package_version__ = __version__
|
||||||
|
|
||||||
# Handle version suffix for nightly, just like tutor core.
|
# Handle version suffix for nightly, just like tutor core.
|
||||||
__version_suffix__ = ""
|
__version_suffix__ = ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user