giteapython/setup.py

57 lines
1.2 KiB
Python
Raw Permalink Normal View History

2020-11-28 17:59:17 +00:00
# coding: utf-8
"""
Gitea API.
This documentation describes the Gitea API. # noqa: E501
2020-11-29 18:59:40 +00:00
OpenAPI spec version: 1.1.1
2020-11-28 17:59:17 +00:00
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from setuptools import setup, find_packages # noqa: H301
2020-11-28 18:00:03 +00:00
def read_readme():
with open('README.md') as f:
return f.read()
2020-11-28 17:59:17 +00:00
NAME = "giteapython"
2020-11-29 19:04:55 +00:00
VERSION = "1.12.2"
2020-11-28 17:59:17 +00:00
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
2020-11-29 18:59:40 +00:00
2020-11-28 17:59:17 +00:00
REQUIRES = [
"certifi>=2017.4.17",
"python-dateutil>=2.1",
"six>=1.10",
"urllib3>=1.23"
]
setup(
name=NAME,
version=VERSION,
description="Gitea API.",
author_email="paramah@gmail.com",
2020-11-28 18:00:03 +00:00
url="https://git.cynarski.pl/python/giteapython",
keywords=["Swagger", "Gitea API.", "gitea", "git"],
2020-11-28 17:59:17 +00:00
install_requires=REQUIRES,
packages=find_packages(),
include_package_data=True,
2020-11-28 18:00:03 +00:00
long_description=read_readme(),
2020-11-29 18:59:40 +00:00
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
2020-11-28 17:59:17 +00:00
)