This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 208
/
setup.py
executable file
·78 lines (68 loc) · 2.68 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
#!/usr/bin/env python3
"""
GUISCRCPY by srevinsaju
Get it on : https://github.com/srevinsaju/guiscrcpy
Licensed under GNU Public License
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
from setuptools import setup
from setuptools import find_packages
import os
import platform
try:
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(
os.path.join(this_directory, 'README.md'),
encoding='utf-8'
) as f:
long_description = f.read()
except FileNotFoundError:
long_description = \
"Open Source Android Screen Mirroring System by @srevinsaju"
requirements = ['PyQt5>=5.14,<5.16', 'pynput', 'qtpy', 'click', 'colorama']
if platform.system() == 'Windows':
requirements.extend(['pywin32', 'psutil'])
elif platform.system() == 'Linux':
requirements.extend(['psutil', 'cairosvg'])
data_files = [
('share/applications', ['guiscrcpy.desktop']),
('share/icons/hicolor/scalable/apps', ['appimage/guiscrcpy.png']),
]
setup(
name='guiscrcpy',
version='v4.7.3',
description='An Open Source - Fast - Android Screen Mirroring system.',
long_description=long_description,
long_description_content_type='text/markdown',
license='GPL v3',
author='srevinsaju',
author_email="srevin03@gmail.com",
packages=find_packages(),
data_files=data_files,
extras_require={'pyqt5': 'PyQt5', 'pyside2': 'PySide2'},
url="https://srevinsaju.github.io/guiscrcpy",
download_url="https://github.com/srevinsaju/guiscrcpy/archive/master.zip",
include_package_data=True,
install_requires=requirements,
scripts=["scripts/guiscrcpy"],
entry_points={'console_scripts': ['guiscrcpy = guiscrcpy.cli:cli']}, # noqa: E501
classifiers=[
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.8',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'
],
)