From 37d2f11195f617d9c0cf21adfeb6d3a1baf01078 Mon Sep 17 00:00:00 2001 From: Laoraid Date: Mon, 23 Dec 2019 03:30:20 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EC=A0=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __about__.py | 2 ++ docs/conf.py | 5 +++-- setup.py | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 __about__.py diff --git a/__about__.py b/__about__.py new file mode 100644 index 0000000..9b86017 --- /dev/null +++ b/__about__.py @@ -0,0 +1,2 @@ +__version__ = '0.3.0' +__author__ = 'Laoraid' \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index de3bc0c..177443e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,16 +13,17 @@ import os import sys sys.path.insert(0, os.path.abspath('..')) +from __about__ import __version__, __author__ # -- Project information ----------------------------------------------------- project = 'KartRider' copyright = '2019, Laoraid' -author = 'Laoraid' +author = __author__ # The full version, including alpha/beta/rc tags -release = '0.3.0' +release = __version__ # -- General configuration --------------------------------------------------- diff --git a/setup.py b/setup.py index 99f7d07..ede7a91 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,12 @@ from setuptools import find_packages, setup +from __about__ import __author__, __version__ setup( name='KartRider', - version='0.2.0', + version=__version__, url='https://github.com/laoraid/KartRider.py', license='MIT', - author='Laoraid', + author=__author__, author_email='a99azaz@gmail.com', description='KartRider Open API Python wrapper', packages=find_packages(exclude=['tests']),