Clean version
This commit is contained in:
parent
a60c631551
commit
d34a16eac0
@ -3,7 +3,7 @@ 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.1.1
|
- API version: 1.12.6
|
||||||
- Package version: 1.0.0
|
- Package version: 1.0.0
|
||||||
- Build package: io.swagger.codegen.languages.PythonClientCodegen
|
- Build package: io.swagger.codegen.languages.PythonClientCodegen
|
||||||
|
|
||||||
@ -17,9 +17,9 @@ Python 2.7 and 3.4+
|
|||||||
If the python package is hosted on Github, you can install directly from Github
|
If the python package is hosted on Github, you can install directly from Github
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
pip install git+https://git.cynarski.pl/python/giteapython.git
|
||||||
```
|
```
|
||||||
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
(you may need to run `pip` with root permission: `sudo pip install git+https://git.cynarski.pl/python/giteapython.git`)
|
||||||
|
|
||||||
Then import the package:
|
Then import the package:
|
||||||
```python
|
```python
|
||||||
|
17
setup.py
17
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.1.1
|
OpenAPI spec version: 1.12.6
|
||||||
|
|
||||||
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
"""
|
"""
|
||||||
@ -13,8 +13,12 @@
|
|||||||
|
|
||||||
from setuptools import setup, find_packages # noqa: H301
|
from setuptools import setup, find_packages # noqa: H301
|
||||||
|
|
||||||
|
def read_readme():
|
||||||
|
with open('README.md') as f:
|
||||||
|
return f.read()
|
||||||
|
|
||||||
NAME = "giteapython"
|
NAME = "giteapython"
|
||||||
VERSION = "1.12.6"
|
VERSION = "1.12.0"
|
||||||
# To install the library, run the following
|
# To install the library, run the following
|
||||||
#
|
#
|
||||||
# python setup.py install
|
# python setup.py install
|
||||||
@ -35,12 +39,11 @@ setup(
|
|||||||
version=VERSION,
|
version=VERSION,
|
||||||
description="Gitea API.",
|
description="Gitea API.",
|
||||||
author_email="paramah@gmail.com",
|
author_email="paramah@gmail.com",
|
||||||
url="",
|
url="https://git.cynarski.pl/python/giteapython",
|
||||||
keywords=["Swagger", "Gitea API."],
|
keywords=["Swagger", "Gitea API.", "gitea", "git"],
|
||||||
install_requires=REQUIRES,
|
install_requires=REQUIRES,
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
long_description="""\
|
long_description=read_readme(),
|
||||||
This documentation describes the Gitea API. # noqa: E501
|
long_description_content_type="text/markdown"
|
||||||
"""
|
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user