1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-16 06:05:00 +00:00
GitHubWrapper/setup.py
2022-04-30 20:41:44 +05:30

31 lines
704 B
Python

import re
from pathlib import Path
from setuptools import setup
with open('requirements.txt') as f:
requirements = f.read().splitlines()
path = Path('github/__init__.py')
with open(path) as f:
version = re.search(r'\d[.]\d[.]\d', f.read()).group(1)
packages = [
'github',
]
readme = ''
with open('README.md') as f:
readme = f.read()
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',
)