forked from asweigart/pyautogui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (44 loc) · 1.84 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
import re
from setuptools import setup
# Load version from module (without loading the whole module)
with open('pyautogui/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
# Read in the README.md for the long description.
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name='PyAutoGUI',
version=version,
url='https://github.com/asweigart/pyautogui',
author='Al Sweigart',
author_email='al@inventwithpython.com',
description=('A cross-platform module for GUI automation for human beings. '
'Control the keyboard and mouse from a Python script.'),
long_description=long_description,
long_description_content_type="text/markdown",
license='BSD',
packages=['pyautogui'],
test_suite='tests',
install_requires=['pymsgbox', 'PyTweening>=1.0.1', 'Pillow', 'pyscreeze'],
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 :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
],
)