mirror of
https://github.com/OpenKMIP/PyKMIP.git
synced 2025-07-16 10:34:26 +02:00
Merge pull request #351 from OpenKMIP/feat/add-enum-import
Update the kmip package to allow importing enums globally
This commit is contained in:
commit
0a04424e6b
@ -16,6 +16,8 @@
|
|||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
from kmip.core import enums
|
||||||
|
|
||||||
# Dynamically set __version__
|
# Dynamically set __version__
|
||||||
version_path = os.path.join(os.path.dirname(
|
version_path = os.path.join(os.path.dirname(
|
||||||
os.path.realpath(__file__)), 'version.py')
|
os.path.realpath(__file__)), 'version.py')
|
||||||
@ -24,4 +26,9 @@ with open(version_path, 'r') as version_file:
|
|||||||
__version__ = mo.group(1)
|
__version__ = mo.group(1)
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['core', 'demos', 'services']
|
__all__ = [
|
||||||
|
'core',
|
||||||
|
'demos',
|
||||||
|
'enums',
|
||||||
|
'services'
|
||||||
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user