mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-28 11:45:10 +00:00
update version
This commit is contained in:
parent
88b7e2b120
commit
5013deff77
1 changed files with 2 additions and 3 deletions
5
setup.py
5
setup.py
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue