mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-16 14:15:00 +00:00
fix setup
This commit is contained in:
parent
d0c73b79a4
commit
88b7e2b120
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue