mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-15 21:54:59 +00:00
30 lines
706 B
Python
30 lines
706 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()
|
|
|
|
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',
|
|
)
|