Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Changelog
=========

.. _v0.10:

0.10 - `master`_
~~~~~~~~~~~~~~~~

.. note:: This version is not yet released and is under active development.

.. _v0.9:

0.9 - June 18, 2019
Expand Down
16 changes: 11 additions & 5 deletions kmip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@
from kmip.pie.client import ProxyKmipClient as KmipClient

# Dynamically set __version__
version_path = os.path.join(os.path.dirname(
os.path.realpath(__file__)), '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__)),
"version.py"
)
with open(version_path, 'r') as f:
m = re.search(
r"^__version__ = \"(\d+\.\d+\..*)\"$",
f.read(),
re.MULTILINE
)
__version__ = m.group(1)


__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion kmip/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# License for the specific language governing permissions and limitations
# under the License.

__version__ = '0.9.0'
__version__ = "0.10.dev1"
17 changes: 12 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@
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',
Expand Down