2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-14 15:23:27 +00:00

Adding version module to improve version handling

This change adds a top-level version module to hold the version
definition for the library. This is then used in both kmip/__init__.py
and setup.py, allowing version inspection on import of the library and
automatic syncing of the version across the project.
This commit is contained in:
Peter Hamilton
2015-06-11 14:25:55 -04:00
parent 537c25ff6d
commit 8efdded9ba
3 changed files with 21 additions and 1 deletions

View File

@@ -15,9 +15,11 @@
import setuptools
exec(open('kmip/version.py').read())
setuptools.setup(
name='PyKMIP',
version='0.3.2',
version=__version__,
description='KMIP v1.1 library',
keywords='KMIP',
author='Peter Hamilton',