diff --git a/contrib/sdk/harbor-py/README.md b/contrib/sdk/harbor-py/README.md index 0e27fd2d1..d95112087 100644 --- a/contrib/sdk/harbor-py/README.md +++ b/contrib/sdk/harbor-py/README.md @@ -2,7 +2,9 @@ [harbor](https://github.com/vmware/harbor) is the enterprise-class registry server for docker distribution. -[harbor-py](https://github.com/tobegit3hub/harbor-py) is the native and compatible python SDK for harbor. The supported APIs are list below. +harbor-py is the native and compatible python SDK for harbor and is included in the harbor git repository under `contrib/sdk/harbor-py`. + +The supported APIs are: - [x] Projects APIs - [x] [Get projects](./examples/get_projects.py) @@ -59,7 +61,7 @@ For more usage, please refer to the [examples](./examples/). ## Contribution -If you have any suggestion, feel free to submit [issues](https://github.com/tobegit3hub/harbor-py/issues) or send [pull-requests](https://github.com/tobegit3hub/harbor-py/pulls) for `harbor-py`. +If you have suggestions, feel free to submit [issues](https://github.com/vmware/harbor/issues) or send [pull-requests](https://github.com/vmware/harbor/pulls) for `harbor-py`. Publish `harbor-py` package to [pypi](https://pypi.python.org/pypi/harbor-py/) server with the following commands. diff --git a/contrib/sdk/harbor-py/setup.py b/contrib/sdk/harbor-py/setup.py index ea63d8d24..3e969957f 100644 --- a/contrib/sdk/harbor-py/setup.py +++ b/contrib/sdk/harbor-py/setup.py @@ -1,6 +1,6 @@ """ The missing harbor python SDK -See: https://github.com/tobegit3hub/harbor-py +See: https://github.com/vmware/harbor/tree/master/contrib/sdk/harbor-py """ from setuptools import setup, find_packages @@ -17,7 +17,7 @@ setup( description='The missing harbor python SDK', # The project's main homepage. - url='https://github.com/tobegit3hub/harbor-py', + url='https://github.com/vmware/harbor', # Author details author='tobe', @@ -68,7 +68,7 @@ setup( # your project is installed. For an analysis of "install_requires" vs pip's # requirements files see: # https://packaging.python.org/en/latest/requirements.html - #install_requires=['peppercorn'], + install_requires=['requests>2.2.0'], # List additional groups of dependencies here (e.g. development # dependencies). You can install these using the following syntax,