mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
use major.minor.patch.postXX.dev version scheme for nightly python releases
This commit is contained in:
parent
4cc758632d
commit
1ac5415e94
5
setup.py
5
setup.py
@ -29,7 +29,10 @@ git_version = check_output(['git', 'describe', '--tags']).decode('utf-8').strip(
|
|||||||
version = git_version[1:].split('-')
|
version = git_version[1:].split('-')
|
||||||
if len(version)>2:
|
if len(version)>2:
|
||||||
version = version[:2]
|
version = version[:2]
|
||||||
version = '.dev'.join(version)
|
if len(version)>1:
|
||||||
|
version = '.post'.join(version) + '.dev'
|
||||||
|
else:
|
||||||
|
version = version[0]
|
||||||
|
|
||||||
py_install_dir = get_python_lib(1,0,'').replace('\\','/')
|
py_install_dir = get_python_lib(1,0,'').replace('\\','/')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user