forked from sdgtt/gui-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (27 loc) · 829 Bytes
/
setup.py
File metadata and controls
29 lines (27 loc) · 829 Bytes
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
import setuptools
def _get_version():
"""Extract version from package."""
with open("pyguit/__init__.py") as reader:
match = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', reader.read(), re.MULTILINE
)
if match:
return match.group(1)
else:
raise RuntimeError("Unable to extract version.")
setuptools.setup(
name="pyguit",
version="0.0.1",
description="Tests and testing infrastructure for GUI apps",
url="https://github.com/sdgtt/gui-testing.git",
author="SDG Testing Team",
author_email="kimchesed.paller@analog.com",
license="ADI BSD",
packages=setuptools.find_packages(),
install_requires=[
"pyvirtualdisplay",
"pyautogui",
"opencv-contrib-python",
"python-xlib",
],
)