From d34a16eac0f19656180d714a0ca860cd38aebed1 Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Sat, 28 Nov 2020 19:00:03 +0100 Subject: [PATCH] Clean version --- README.md | 6 +++--- setup.py | 17 ++++++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6c16b0c..dcb109f 100644 --- a/README.md +++ b/README.md @@ -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: -- API version: 1.1.1 +- API version: 1.12.6 - Package version: 1.0.0 - 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 ```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: ```python diff --git a/setup.py b/setup.py index 3a55820..7b4523c 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ 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 """ @@ -13,8 +13,12 @@ from setuptools import setup, find_packages # noqa: H301 +def read_readme(): + with open('README.md') as f: + return f.read() + NAME = "giteapython" -VERSION = "1.12.6" +VERSION = "1.12.0" # To install the library, run the following # # python setup.py install @@ -35,12 +39,11 @@ setup( version=VERSION, description="Gitea API.", author_email="paramah@gmail.com", - url="", - keywords=["Swagger", "Gitea API."], + url="https://git.cynarski.pl/python/giteapython", + keywords=["Swagger", "Gitea API.", "gitea", "git"], install_requires=REQUIRES, packages=find_packages(), include_package_data=True, - long_description="""\ - This documentation describes the Gitea API. # noqa: E501 - """ + long_description=read_readme(), + long_description_content_type="text/markdown" )