setup.py and add command line support

This commit is contained in:
ricterz
2015-05-10 01:11:57 +08:00
parent 0b9a70d59b
commit 530316cb91
10 changed files with 17 additions and 13 deletions

View File

@@ -14,11 +14,13 @@ setup(
description='nhentai.net dojinshis downloader',
url='https://github.com/RicterZ/nhentai',
include_package_data=True,
zip_safe=False,
install_requires=requirements,
entry_points={
'console_scripts': [
'nhentai = nhentai:main',
'nhentai = nhentai.command:main',
]
}
},
license='MIT',
)