Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
ba9113fb
Unverified
Commit
ba9113fb
authored
Oct 22, 2024
by
Peter Eastman
Committed by
GitHub
Oct 22, 2024
Browse files
Allow adding a suffix to the version number (#4701)
parent
f5fc52ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wrappers/python/setup.py
wrappers/python/setup.py
+3
-2
No files found.
wrappers/python/setup.py
View file @
ba9113fb
...
@@ -128,9 +128,10 @@ def buildKeywordDictionary(major_version_num=MAJOR_VERSION_NUM,
...
@@ -128,9 +128,10 @@ def buildKeywordDictionary(major_version_num=MAJOR_VERSION_NUM,
from
setuptools
import
Extension
from
setuptools
import
Extension
setupKeywords
=
{}
setupKeywords
=
{}
setupKeywords
[
"name"
]
=
"OpenMM"
setupKeywords
[
"name"
]
=
"OpenMM"
setupKeywords
[
"version"
]
=
"%s.%s.%s"
%
(
major_version_num
,
setupKeywords
[
"version"
]
=
"%s.%s.%s
%s
"
%
(
major_version_num
,
minor_version_num
,
minor_version_num
,
build_info
)
build_info
,
os
.
getenv
(
'VERSION_SUFFIX'
,
''
))
setupKeywords
[
"author"
]
=
"Peter Eastman"
setupKeywords
[
"author"
]
=
"Peter Eastman"
setupKeywords
[
"license"
]
=
\
setupKeywords
[
"license"
]
=
\
"Python Software Foundation License (BSD-like)"
"Python Software Foundation License (BSD-like)"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment