Merge pull request #353 from OpenKMIP/feat/import-client-global

Update the kmip package to support importing the client
This commit is contained in:
Peter Hamilton 2017-10-24 09:41:46 -04:00 committed by GitHub
commit 99b99cc454
2 changed files with 13 additions and 0 deletions

View File

@ -17,6 +17,9 @@ import os
import re import re
from kmip.core import enums from kmip.core import enums
from kmip.pie import client
from kmip.pie import objects
from kmip.pie.client import ProxyKmipClient as KmipClient
# Dynamically set __version__ # Dynamically set __version__
version_path = os.path.join(os.path.dirname( version_path = os.path.join(os.path.dirname(
@ -27,8 +30,11 @@ with open(version_path, 'r') as version_file:
__all__ = [ __all__ = [
'client',
'core', 'core',
'demos', 'demos',
'enums', 'enums',
'KmipClient',
'objects',
'services' 'services'
] ]

View File

@ -12,3 +12,10 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from kmip.pie.client import ProxyKmipClient
__all__ = [
"ProxyKmipClient"
]