forked from feeluown/FeelUOwn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
105 lines (97 loc) · 2.99 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
97
98
99
100
101
102
103
104
105
#!/usr/bin/env python3
from setuptools import setup
from os import path
import feeluown
current_directory = path.abspath(path.dirname(__file__))
with open(path.join(current_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='feeluown',
version=feeluown.__version__,
description='*nix music player',
long_description=long_description,
long_description_content_type='text/markdown',
license="GPL-3.0",
author='Cosven',
author_email='yinshaowen241@gmail.com',
packages=[
'feeluown',
# feeluown common
'feeluown.entry_points',
'feeluown.linux',
# feeluown gui
'feeluown.gui',
'feeluown.gui.pages',
'feeluown.gui.widgets',
'feeluown.widgets',
'feeluown.widgets.statusline_items',
'feeluown.uimodels',
'feeluown.containers',
# fuocore
'fuocore',
'fuocore.serializers',
'fuocore.cmds',
'fuocore.models',
'fuocore.protocol',
],
py_modules=['mpv'],
package_data={
'': ['*.qss',
'*.xml',
'*.colors',
'*.png',
'../icons/*.png',
'../icons/*.ico',
'../icons/*.icns',
'themes/*.qss',
'themes/*.colors',
]
},
python_requires=">=3.5",
url='https://github.com/feeluown/FeelUOwn',
keywords=['media', 'player', 'application', 'PyQt5', 'Python 3'],
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3 :: Only',
'Environment :: X11 Applications :: Qt',
"Topic :: Multimedia :: Sound/Audio",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
],
# FIXME: depends on PyQt5
#
# The feeluown.compat module will choose the right package
# for different python version
install_requires=[
'janus',
'requests',
'pyopengl',
'qasync',
],
extras_require={
'battery': ['fuo-local>=0.1.1',
'fuo-xiami>=0.1.2',
'fuo-netease>=0.2',
'fuo-qqmusic>=0.1.2'],
'macOS': ['pyobjc-framework-Cocoa', 'pyobjc-framework-Quartz'],
'win32': ['pyshortcuts'],
},
tests_require=['pytest-runner',
'pytest',
'pytest-cov',
'pytest-asyncio',
'pytest-qt',
'pytest-mock'],
entry_points={
'console_scripts': [
"feeluown=feeluown.__main__:main",
"fuo=feeluown.__main__:main",
"feeluown-genicon=feeluown.install:generate_icon",
# "feeluown-update=feeluown.install:update"
]
},
)