1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-31 13:08:12 +00:00

Make setup.py simpler... again.

This commit is contained in:
RGBCube 2022-06-21 19:07:04 +03:00
parent 0d10386c39
commit 573617afa8

View file

@ -2,8 +2,6 @@ import re
from pathlib import Path
from setuptools import setup
ROOT_DIR = Path(__file__).parent
packages = [
'github',
]
@ -21,11 +19,11 @@ setup(
name='github',
author='VarMonke & sudosnok',
url='https://github.com/VarMonke/Github-Api-Wrapper',
version=re.search(r'\d[.]\d[.]\d', (ROOT_DIR / "github" / "__init__.py").read_text())[0],
version=re.search(r'\d[.]\d[.]\d', (Path('github') / '__init__.py').read_text())[0],
packages=packages,
license='MIT',
description='An asynchronous python wrapper around the GitHub API',
long_description=(ROOT_DIR / "README.rst").read_text(),
install_requires=(ROOT_DIR / "requirements.txt").read_text().splitlines(),
long_description=Path('README.rst').read_text(),
install_requires=Path('requirements.txt').read_text().splitlines(),
python_requires='>=3.8.0',
)