-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
setup.py
63 lines (58 loc) · 2.53 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
import io
import os
import re
from setuptools import setup
scriptFolder = os.path.dirname(os.path.realpath(__file__))
os.chdir(scriptFolder)
# Find version info from module (without importing the module):
with open('pyautogui/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
# Use the README.md content for the long description:
with io.open("README.md", encoding="utf-8") as fileObj:
long_description = fileObj.read()
setup(
name='PyAutoGUI',
version=version,
url='https://github.com/asweigart/pyautogui',
author='Al Sweigart',
author_email='al@inventwithpython.com',
description=('PyAutoGUI lets Python control the mouse and keyboard, and other GUI automation tasks. For Windows, macOS, and Linux, on Python 3 and 2.'),
long_description=long_description,
long_description_content_type="text/markdown",
license='BSD',
packages=['pyautogui'],
test_suite='tests',
install_requires=['pyobjc-core;platform_system=="Darwin"',
'pyobjc-framework-quartz;platform_system=="Darwin"',
'python3-Xlib;platform_system=="Linux" and python_version>="3.0"',
'python-xlib;platform_system=="Linux" and python_version<"3.0"',
'pymsgbox',
'pytweening>=1.0.4',
'pyscreeze>=0.1.21',
'pygetwindow>=0.0.5',
'mouseinfo'],
keywords="gui automation test testing keyboard mouse cursor click press keystroke control",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Win32 (MS Windows)',
'Environment :: X11 Applications',
'Environment :: MacOS X',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
)