-
Notifications
You must be signed in to change notification settings - Fork 308
/
setup.py
96 lines (83 loc) · 2.96 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# coding=utf-8
# python setup.py sdist build
# python setup.py sdist –formats = gztar,zip
# twine upload "dist/Quick-Cut-1.6.10.tar.gz"
# 这是用于上传 pypi 前打包用的
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='Quick-Cut',
version='1.6.10',
description=(
'一款轻量、强大、好用的视频处理软件。'
),
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/HaujetZhao/QuickCut',
author='Haujet Zhao',
author_email='[email protected]',
maintainer='Haujet Zhao',
maintainer_email='[email protected]',
license='MPL-2.0 License',
install_requires=[ # 需要额外安装的包
'srt',
'keyboard',
'numpy',
'scipy',
'aliyun-python-sdk-core',
'alibabacloud-nls-java-sdk',
'PyQt5',
'audiotsm',
'cos-python-sdk-v5',
'tencentcloud-sdk-python',
'oss2',
'pyaudio',
'auditok',
'pymediainfo',
'you-get',
'youtube-dl'
],
packages=['QuickCut', 'QuickCut/languages', 'QuickCut/misc'], # 需要打包的本地包(package)
package_data={ # 每个本地包中需要包含的另外的文件
'QuickCut': ['*.md',
'*.ico',
'*.icns',
'style.css',
'sponsor.jpg'],
'QuickCut/languages':['*.*'],
'QuickCut/misc':['README*.html', 'assets/*.*']},
entry_points={ # Optional
'gui_scripts': [
'QuickCut=QuickCut.QuickCut:main',
'Quick-Cut=QuickCut.QuickCut:main',
'Quickcut=QuickCut.QuickCut:main',
'quickcut=QuickCut.QuickCut:main'
]},
platforms=["all"],
classifiers=[
# Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: End Users/Desktop',
'Topic :: Multimedia :: Video',
# Pick your license as you wish
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
# Specify the Python versions you support here. In particular, ensure
# that you indicate you support Python 3. These classifiers are *not*
# checked by 'pip install'. See instead 'python_requires' below.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3 :: Only',
],
python_requires='>=3.5, <4',
)