Automatic update.
This commit is contained in:
parent
d34a16eac0
commit
a1a9cf9d69
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -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.
|
@ -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:
|
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.12.1
|
||||||
- Package version: 1.0.0
|
- Build date: 2020-11-29T18:59:38.479Z
|
||||||
- Build package: io.swagger.codegen.languages.PythonClientCodegen
|
- Build package: io.swagger.codegen.languages.PythonClientCodegen
|
||||||
|
|
||||||
## Requirements.
|
## Requirements.
|
||||||
@ -14,8 +14,6 @@ Python 2.7 and 3.4+
|
|||||||
## Installation & Usage
|
## Installation & Usage
|
||||||
### pip install
|
### pip install
|
||||||
|
|
||||||
If the python package is hosted on Github, you can install directly from Github
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pip install git+https://git.cynarski.pl/python/giteapython.git
|
pip install git+https://git.cynarski.pl/python/giteapython.git
|
||||||
```
|
```
|
||||||
@ -516,3 +514,4 @@ Class | Method | HTTP request | Description
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ class ApiClient(object):
|
|||||||
self.default_headers[header_name] = header_value
|
self.default_headers[header_name] = header_value
|
||||||
self.cookie = cookie
|
self.cookie = cookie
|
||||||
# Set default User-Agent.
|
# 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):
|
def __del__(self):
|
||||||
if self._pool is not None:
|
if self._pool is not None:
|
||||||
|
@ -283,5 +283,5 @@ class Configuration(object):
|
|||||||
"OS: {env}\n"\
|
"OS: {env}\n"\
|
||||||
"Python Version: {pyversion}\n"\
|
"Python Version: {pyversion}\n"\
|
||||||
"Version of the API: 1.1.1\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)
|
format(env=sys.platform, pyversion=sys.version)
|
||||||
|
13
setup.py
13
setup.py
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
This documentation describes the Gitea API. # noqa: E501
|
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
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
"""
|
"""
|
||||||
@ -18,7 +18,7 @@ def read_readme():
|
|||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
NAME = "giteapython"
|
NAME = "giteapython"
|
||||||
VERSION = "1.12.0"
|
VERSION = "1.12.1"
|
||||||
# To install the library, run the following
|
# To install the library, run the following
|
||||||
#
|
#
|
||||||
# python setup.py install
|
# python setup.py install
|
||||||
@ -26,6 +26,7 @@ VERSION = "1.12.0"
|
|||||||
# prerequisite: setuptools
|
# prerequisite: setuptools
|
||||||
# http://pypi.python.org/pypi/setuptools
|
# http://pypi.python.org/pypi/setuptools
|
||||||
|
|
||||||
|
|
||||||
REQUIRES = [
|
REQUIRES = [
|
||||||
"certifi>=2017.4.17",
|
"certifi>=2017.4.17",
|
||||||
"python-dateutil>=2.1",
|
"python-dateutil>=2.1",
|
||||||
@ -45,5 +46,11 @@ setup(
|
|||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
long_description=read_readme(),
|
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',
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user