diff --git a/src/DESCRIPTION.rst b/src/DESCRIPTION.rst index b197e27..2e6257c 100755 --- a/src/DESCRIPTION.rst +++ b/src/DESCRIPTION.rst @@ -9,28 +9,28 @@ connections. It's that easy: - :: +:: - >>> import hcpsdk + >>> import hcpsdk - >>> # initialize an *Authorization* object - >>> auth = hcpsdk.NativeAuthorization('user', 'password') + >>> # initialize an *Authorization* object + >>> auth = hcpsdk.NativeAuthorization('user', 'password') - >>> # initialize a *Target* object - >>> t = hcpsdk.Target("namespace.tenant.hcp.your.domain", - auth, port=443) + >>> # initialize a *Target* object + >>> t = hcpsdk.Target("namespace.tenant.hcp.your.domain", + auth, port=443) - >>> # initialize a Connection to the `Target`` - >>> c = hcpsdk.Connection(t) + >>> # initialize a Connection to the `Target`` + >>> c = hcpsdk.Connection(t) - >>> # do something with the connection... - >>> r = c.GET('/rest/your_file.txt') - >>> c.response_status, c.response_reason - (200, 'OK') - >>> r.read() - b'some data...' - >>> - >>> c.close() + >>> # do something with the connection... + >>> r = c.GET('/rest/your_file.txt') + >>> c.response_status, c.response_reason + (200, 'OK') + >>> r.read() + b'some data...' + >>> + >>> c.close() Features diff --git a/src/hcpsdk/version.py b/src/hcpsdk/version.py index 61a4593..38ba802 100644 --- a/src/hcpsdk/version.py +++ b/src/hcpsdk/version.py @@ -28,7 +28,7 @@ class _Version(object): release = 0 major = 9 minor = 1 - build = 6 + build = 7 fullversion = '{}.{}.{}-{}'.format(release, major, minor, build) diff --git a/src/pip_requirements.txt b/src/pip_requirements.txt index 0507a3c..df60e2c 100644 --- a/src/pip_requirements.txt +++ b/src/pip_requirements.txt @@ -1,3 +1,3 @@ -dnspython3 -alabaster +dnspython3>=1.12.0 +alabaster>=0.6.2 diff --git a/src/setup.py b/src/setup.py index 439e106..ef0864a 100644 --- a/src/setup.py +++ b/src/setup.py @@ -87,7 +87,7 @@ # project is installed. For an analysis of "install_requires" vs pip's # requirements files see: # https://packaging.python.org/en/latest/technical.html#install-requires-vs-requirements-files - install_requires=['dnspython3'], + install_requires = ['dnspython3>=1.12.0', 'alabaster>=0.6.2'], # List additional groups of dependencies here (e.g. development dependencies). # You can install these using the following syntax, for example: