-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
67 lines (60 loc) · 1.61 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
#!/usr/bin/env python
import sys
from setuptools import find_packages, setup
description = 'Cross-platform CLI tools and HTTP RPC server for desktop automation.'
install_requirements = [
'fire',
'fastapi',
'pynput',
'uvicorn',
'pytesseract',
'Pillow',
'pyvirtualcam',
'numpy',
'mss',
'pandas',
'scikit-learn',
'scipy',
'psutil',
'guibot',
'autopy',
]
if sys.platform == 'darwin':
install_requirements.extend([
"pyobjc-framework-Quartz==7.3",
"pyobjc-core==7.3",
"pyobjc-framework-ApplicationServices==7.3",
"pyobjc-framework-Cocoa==7.3",
"pyobjc-framework-CoreText==7.3",
"pyobjc-framework-Quartz==7.3",
'atomac @ https://github.com/pyatom/pyatom/archive/master.zip',
])
if sys.platform.startswith('win'):
install_requirements.extend([
"pywinauto",
])
setup(
name='auto-cmd',
author='link89',
author_email='[email protected]',
version='0.0.8',
packages=find_packages(),
description=description,
long_description=description,
install_requires=install_requirements,
entry_points={
'console_scripts': [
'auto-cmd=auto_cmd.cli:main',
'auto-cmd-http=auto_cmd.http_server:main',
],
},
python_requires=">=3.6",
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)