kopia lustrzana https://github.com/Langenfeld/py-gitea
preparing pypi package
rodzic
4b0a76965f
commit
1da8837fb7
|
@ -10,3 +10,16 @@ from .gitea import (
|
||||||
Issue,
|
Issue,
|
||||||
Milestone,
|
Milestone,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
'Gitea',
|
||||||
|
'User',
|
||||||
|
'Organization',
|
||||||
|
'Team',
|
||||||
|
'Repository',
|
||||||
|
'Branch',
|
||||||
|
'NotFoundException',
|
||||||
|
'AlreadyExistsException',
|
||||||
|
'Issue',
|
||||||
|
'Milestone'
|
||||||
|
]
|
||||||
|
|
|
@ -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)
|
Ładowanie…
Reference in New Issue