mirror of
https://github.com/openkmip/pykmip
synced 2025-12-24 04:04:20 +00:00
Bump the library version to 0.10.dev1
This change updates the library version to the next dev version and updates the changelog to reflect this.
This commit is contained in:
committed by
Peter Hamilton
parent
f8c76105c9
commit
8d89f19521
17
setup.py
17
setup.py
@@ -18,11 +18,18 @@ import re
|
||||
import setuptools
|
||||
|
||||
# Dynamically set __version__
|
||||
version_path = os.path.join(os.path.dirname(
|
||||
os.path.realpath(__file__)), 'kmip', 'version.py')
|
||||
with open(version_path, 'r') as version_file:
|
||||
mo = re.search(r"^.*= '(\d\.\d\..*)'$", version_file.read(), re.MULTILINE)
|
||||
__version__ = mo.group(1)
|
||||
version_path = os.path.join(
|
||||
os.path.dirname(os.path.realpath(__file__)),
|
||||
"kmip",
|
||||
"version.py"
|
||||
)
|
||||
with open(version_path, 'r') as f:
|
||||
m = re.search(
|
||||
r"^__version__ = \"(\d+\.\d+\..*)\"$",
|
||||
f.read(),
|
||||
re.MULTILINE
|
||||
)
|
||||
__version__ = m.group(1)
|
||||
|
||||
setuptools.setup(
|
||||
name='PyKMIP',
|
||||
|
||||
Reference in New Issue
Block a user