1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-07-23 22:47:41 +00:00

update version

This commit is contained in:
VarMonke 2022-04-30 22:51:58 +05:30
parent 88b7e2b120
commit 5013deff77

View file

@ -5,9 +5,8 @@ from setuptools import setup
with open('requirements.txt') as f: with open('requirements.txt') as f:
requirements = f.read().splitlines() requirements = f.read().splitlines()
path = Path('github/__init__.py') path = Path(__file__).parent / "github/__init__.py"
with open(path) as f: version = re.search(r'\d[.]\d[.]\d',path.read_text()).group()
version = re.search(r'\d[.]\d[.]\d', f.read()).group(1)
packages = [ packages = [
'github', 'github',