mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 18:31:24 +02:00
add setup.py
This commit is contained in:
parent
d5f257c5e6
commit
0b9a70d59b
@ -1,4 +1,6 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
#coding: utf-8
|
#coding: utf-8
|
||||||
|
|
||||||
from hentai.cmdline import cmd_parser, banner
|
from hentai.cmdline import cmd_parser, banner
|
||||||
from hentai.parser import dojinshi_parser, search_parser, print_dojinshi
|
from hentai.parser import dojinshi_parser, search_parser, print_dojinshi
|
||||||
from hentai.dojinshi import Dojinshi
|
from hentai.dojinshi import Dojinshi
|
||||||
|
24
setup.py
Normal file
24
setup.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
with open('requirements.txt') as f:
|
||||||
|
requirements = [l for l in f.read().splitlines() if l]
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name='nhentai',
|
||||||
|
version='0.1',
|
||||||
|
packages=find_packages(),
|
||||||
|
|
||||||
|
author='Ricter',
|
||||||
|
author_email='ricterzheng@gmail.com',
|
||||||
|
keywords='nhentai, dojinshi',
|
||||||
|
description='nhentai.net dojinshis downloader',
|
||||||
|
url='https://github.com/RicterZ/nhentai',
|
||||||
|
include_package_data=True,
|
||||||
|
|
||||||
|
install_requires=requirements,
|
||||||
|
entry_points={
|
||||||
|
'console_scripts': [
|
||||||
|
'nhentai = nhentai:main',
|
||||||
|
]
|
||||||
|
}
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user