1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-15 05:35:00 +00:00
GitHubWrapper/setup.py
2022-05-11 11:34:51 +05:30

39 lines
895 B
Python

import re
from pathlib import Path
from setuptools import setup
with open('requirements.txt') as f:
requirements = f.read().splitlines()
path = Path(__file__).parent / "github" / "__init__.py"
version = re.search(r'\d[.]\d[.]\d', path.read_text()).group(0) # type: ignore
packages = [
'github',
]
readme = ''
with open('README.rst') as f:
readme = f.read()
extras_require = {
'docs': [
'sphinx==4.4.0',
'sphinxcontrib_trio==1.1.2',
'sphinxcontrib-websupport',
'typing-extensions',
],
}
setup(
name='github',
author='VarMonke & sudosnok',
url='https://github.com/VarMonke/Github-Api-Wrapper',
version=version,
packages=packages,
license='MIT',
description='An asynchronous python wrapper around the GitHub API',
long_description=readme,
install_requires=requirements,
python_requires='>=3.8.0',
)