1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-28 11:45:10 +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:
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)
path = Path(__file__).parent / "github/__init__.py"
version = re.search(r'\d[.]\d[.]\d',path.read_text()).group()
packages = [
'github',