forked from delta4d/douban-album-dl
-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
37 lines (32 loc) · 986 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""Douban Album Downloader"""
from setuptools import setup, find_packages
requirements = [
"bs4",
"requests"
]
def long_desc():
try:
with open('README.md', encoding='utf8') as f:
return f.read()
except IOError:
return ''
setup(
name="douban-dl",
version="0.0.6",
description="douban downloader, include album, celebrity",
long_description=long_desc(),
long_description_content_type='text/markdown',
url="https://github.com/einverne/douban-dl",
author="einverne",
author_email="[email protected]",
license="MIT",
# scripts=["bin/douban-album-dl"],
# not use scripts while use entry_points instead https://packaging.python.org/tutorials/distributing-packages/#scripts
entry_points={
'console_scripts': [
'douban-dl = douban.__main__:main',
]},
keywords="douban downloader",
packages=find_packages(exclude=["tests"]),
install_requires=requirements,
)