#!/usr/bin/env python # Copyright 2026 The Gitea Authors. All rights reserved. # SPDX-License-Identifier: MIT from setuptools import setup, find_packages with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() setup( name="gitea-sdk", version="1.0.0", author="The Gitea Authors", author_email="contact@gitea.io", description="Python SDK for the Gitea API with chunked upload support", long_description=long_description, long_description_content_type="text/markdown", url="https://gitea.io", project_urls={ "Bug Tracker": "https://github.com/go-gitea/gitea/issues", "Documentation": "https://docs.gitea.io/sdk/python", "Source Code": "https://github.com/go-gitea/gitea/tree/main/sdk/python", }, packages=find_packages(), classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Version Control :: Git", ], python_requires=">=3.8", install_requires=[ "requests>=2.25.0", ], extras_require={ "dev": [ "pytest>=7.0", "pytest-cov>=4.0", "black>=23.0", "mypy>=1.0", "types-requests>=2.25", ], }, )