1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-16 14:15:00 +00:00

fix setup

This commit is contained in:
VarMonke 2022-04-30 20:41:44 +05:30
parent d0c73b79a4
commit 88b7e2b120

View file

@ -1,10 +1,12 @@
import re
from pathlib import Path
from setuptools import setup
with open('requirements.txt') as f:
requirements = f.read().splitlines()
with open('github/__init__.py') as f:
path = Path('github/__init__.py')
with open(path) as f:
version = re.search(r'\d[.]\d[.]\d', f.read()).group(1)
packages = [