From a1a9cf9d69b44c9429edd02aa5c224358a606e19 Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Sun, 29 Nov 2020 19:59:40 +0100 Subject: [PATCH] Automatic update. --- LICENSE | 21 +++++++++++++++++++++ README.md | 7 +++---- giteapython/api_client.py | 2 +- giteapython/configuration.py | 2 +- setup.py | 13 ++++++++++--- 5 files changed, 36 insertions(+), 9 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e68fe81 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 ALeksander Cynarski + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index dcb109f..a0f7a37 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ This documentation describes the Gitea API. This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: 1.12.6 -- Package version: 1.0.0 +- Package version: 1.12.1 +- Build date: 2020-11-29T18:59:38.479Z - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. @@ -14,8 +14,6 @@ Python 2.7 and 3.4+ ## Installation & Usage ### pip install -If the python package is hosted on Github, you can install directly from Github - ```sh pip install git+https://git.cynarski.pl/python/giteapython.git ``` @@ -516,3 +514,4 @@ Class | Method | HTTP request | Description + diff --git a/giteapython/api_client.py b/giteapython/api_client.py index c445d3c..019f6e0 100644 --- a/giteapython/api_client.py +++ b/giteapython/api_client.py @@ -74,7 +74,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/1.0.0/python' + self.user_agent = 'Swagger-Codegen/1.12.1/python' def __del__(self): if self._pool is not None: diff --git a/giteapython/configuration.py b/giteapython/configuration.py index 35e2844..1891585 100644 --- a/giteapython/configuration.py +++ b/giteapython/configuration.py @@ -283,5 +283,5 @@ class Configuration(object): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.1.1\n"\ - "SDK Package Version: 1.0.0".\ + "SDK Package Version: 1.12.1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/setup.py b/setup.py index 7b4523c..52f3b49 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ This documentation describes the Gitea API. # noqa: E501 - OpenAPI spec version: 1.12.6 + OpenAPI spec version: 1.1.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -18,7 +18,7 @@ def read_readme(): return f.read() NAME = "giteapython" -VERSION = "1.12.0" +VERSION = "1.12.1" # To install the library, run the following # # python setup.py install @@ -26,6 +26,7 @@ VERSION = "1.12.0" # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools + REQUIRES = [ "certifi>=2017.4.17", "python-dateutil>=2.1", @@ -45,5 +46,11 @@ setup( packages=find_packages(), include_package_data=True, long_description=read_readme(), - long_description_content_type="text/markdown" + long_description_content_type="text/markdown", + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + python_requires='>=3.6', )