preparing pypi package

pull/3/head
Langenfeld 2021-01-05 09:31:25 +01:00
rodzic 4b0a76965f
commit 1da8837fb7
2 zmienionych plików z 41 dodań i 0 usunięć

Wyświetl plik

@ -10,3 +10,16 @@ from .gitea import (
Issue,
Milestone,
)
__all__ = [
'Gitea',
'User',
'Organization',
'Team',
'Repository',
'Branch',
'NotFoundException',
'AlreadyExistsException',
'Issue',
'Milestone'
]

28
setup.py 100644
Wyświetl plik

@ -0,0 +1,28 @@
from setuptools import setup, find_packages
with open('README.md') as readme_file:
README = readme_file.read()
setup_args = dict(
name='py-gitea',
version='0.1.0',
description='A python wrapper for the Gitea API',
long_description_content_type="text/markdown",
long_description=README,
license='MIT',
packages=find_packages(),
author='Vincent Langenfeld ',
author_email='langenfv@tf.uni-freiburg.de',
keywords=['Gitea','api','wrapper'],
url='https://github.com/Langenfeld/py-gitea',
download_url='https://pypi.org/project/py-gitea/'
)
install_requires = [
'requests',
'httpcache',
'pytest'
]
if __name__ == '__main__':
setup(**setup_args, install_requires=install_requires)