From c3983ac5fcb62a0217545a458d1d69c3ab784af1 Mon Sep 17 00:00:00 2001 From: ricterz Date: Sun, 10 May 2015 18:07:27 +0800 Subject: [PATCH] v0.1.1 --- nhentai/__init__.py | 3 +++ nhentai/command.py | 3 --- setup.py | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/nhentai/__init__.py b/nhentai/__init__.py index e69de29..5abc3b0 100644 --- a/nhentai/__init__.py +++ b/nhentai/__init__.py @@ -0,0 +1,3 @@ +__version__ = '0.1.1' +__author__ = 'Ricter' +__email__ = 'ricterzheng@gmail.com' \ No newline at end of file diff --git a/nhentai/command.py b/nhentai/command.py index 81e3053..88d19c7 100644 --- a/nhentai/command.py +++ b/nhentai/command.py @@ -8,9 +8,6 @@ from downloader import Downloader from logger import logger -__version__ = '0.1' - - def main(): banner() options = cmd_parser() diff --git a/setup.py b/setup.py index 9da606d..199b3ca 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,16 @@ from setuptools import setup, find_packages +from nhentai import __version__, __author__, __email__ with open('requirements.txt') as f: requirements = [l for l in f.read().splitlines() if l] setup( name='nhentai', - version='0.1', + version=__version__, packages=find_packages(), - author='Ricter', - author_email='ricterzheng@gmail.com', + author=__author__, + author_email=__email__, keywords='nhentai, dojinshi', description='nhentai.net dojinshis downloader', url='https://github.com/RicterZ/nhentai',