diff --git a/Github/__init__.py b/Github/__init__.py index 39b9dec..a489e31 100644 --- a/Github/__init__.py +++ b/Github/__init__.py @@ -1,11 +1,13 @@ #== __init__.py ==# +__title__ = 'Github-Api-Wrapper' +__authors__ = 'VarMonke', 'sudosnok' +__version__ = '1.0.1' +__license__ = 'MIT' +__copyright__ = 'Copyright (c) 2020 VarMonke & sudosnok' + from .main import * from .objects import * from .http import * from .urls import * -from .exceptions import * - -__title__ = 'Github-Api-Wrapper' -__authors__ = 'VarMonke', 'sudosnok' -__version__ = '1.0.1' +from .exceptions import * \ No newline at end of file diff --git a/setup.py b/setup.py index 6a61706..0cf5679 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,14 @@ +import re from setuptools import setup with open('requirements.txt') as f: requirements = f.read().splitlines() -version = '1.0.0' +with open('github/__init__.py') as f: + version = re.search(r'\d[.]\d[.]\d', f.read()).group(1) packages = [ - 'Github', + 'github', ] readme = '' @@ -14,7 +16,7 @@ with open('README.md') as f: readme = f.read() setup( - name='Github', + name='github', author='VarMonke & sudosnok', url='https://github.com/VarMonke/Github-Api-Wrapper', version=version,