forked from CharlesPikachu/videodl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (43 loc) · 1.41 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (43 loc) · 1.41 KB
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
38
39
40
41
42
43
44
45
46
47
'''
Function:
Implementation of Setup
Author:
Zhenchao Jin
WeChat Official Account (微信公众号):
Charles的皮卡丘
GitHub:
https://github.com/CharlesPikachu/videodl
'''
import videodl
from setuptools import setup, find_packages
'''readme'''
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
'''setup'''
setup(
name=videodl.__title__,
version=videodl.__version__,
description=videodl.__description__,
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
"License :: Free for non-commercial use",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
],
author=videodl.__author__,
url=videodl.__url__,
author_email=videodl.__email__,
license=videodl.__license__,
license_files=("LICENSE",),
include_package_data=True,
packages=find_packages(),
package_data={"videodl": [
"modules/cdm/*.wvd", "modules/js/youtube/*.js", "modules/js/xmflv/*.js", "modules/js/xmflv/xiami_token.wasm", "modules/js/tencent/*.js",
"modules/js/tencent/ckey.wasm", "modules/js/cctv/*.js",
]},
entry_points={'console_scripts': ['videodl = videodl.videodl:VideoClientCMD']},
install_requires=[lab.strip('\n') for lab in list(open('requirements.txt', 'r').readlines())],
zip_safe=True,
)