mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 11:07:51 +00:00
fix parsing of version
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
02f195a380
commit
fa0f9c97bc
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ def _clean_native_build():
|
||||||
def _z3_version():
|
def _z3_version():
|
||||||
post = os.getenv('Z3_VERSION_SUFFIX', '')
|
post = os.getenv('Z3_VERSION_SUFFIX', '')
|
||||||
if RELEASE_DIR is None:
|
if RELEASE_DIR is None:
|
||||||
fn = os.path.join(ROOT_DIR, 'VERSION.txt')
|
fn = os.path.join(SRC_DIR_REPO, 'VERSION.txt')
|
||||||
if os.path.exists(fn):
|
if os.path.exists(fn):
|
||||||
with open(fn) as f:
|
with open(fn) as f:
|
||||||
for line in f:
|
for line in f:
|
||||||
|
@ -284,7 +284,7 @@ class sdist(_sdist):
|
||||||
# The Azure Dev Ops pipelines use internal OS version tagging that don't correspond
|
# The Azure Dev Ops pipelines use internal OS version tagging that don't correspond
|
||||||
# to releases.
|
# to releases.
|
||||||
|
|
||||||
internal_build_re = re.compile("(.+)\_7")
|
internal_build_re = re.compile("(.+)_7")
|
||||||
|
|
||||||
class bdist_wheel(_bdist_wheel):
|
class bdist_wheel(_bdist_wheel):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue