-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (48 loc) · 2.21 KB
/
setup.py
File metadata and controls
64 lines (48 loc) · 2.21 KB
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
from distutils.core import setup
from os.path import abspath, dirname, join
execfile(join(dirname(abspath(__file__)), 'target', 'src', 'SikuliLibrary', 'version.py'))
# import os
DESCRIPTION = """
Robot Framework Desktop Library provide keywords for Robot Framework to test Desktop(MAC/Windows/Linux) UI through Sikuli,
that leverages the `robotframework-SikuliLibrary` libraries(https://github.com/rainmanwy/robotframework-SikuliLibrary) by Wang Yang.
We wrap the KWs(Desktop_xxxx) on it according to our project requirements.
Notes: SikuliLibrary.jar file is OS dependent. The version for Windows 64bit is included.
If target OS is not Windows, please get source code from GITHUB, and use Maven to build
SikuliLibrary.jar on target OS, and replace the jar file in 'lib' folder.
Installation
------------
Using ``pip``
'''''''''''''
The recommended installation method is using
`pip <http://pip-installer.org>`__::
pip install robotframework-desktoplibrary
Project Contributors
--------------------
* `Whitney0323 <Whitney0323@163.com>`_
* `Wang Yangdan <wangyangdan@gmail.com>`_
"""[1:-1]
CLASSIFIERS = """
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Java
Topic :: Software Development :: Testing
"""[1:-1]
# compile_cmd ='mvn package'
# print('*************************** '+compile_cmd+' ***************************')
# os.system(compile_cmd)
# print("*************************** setup.py install ***************************")
setup(name = 'robotframework-desktoplibrary',
version = '1.0.0',
description = 'desktop UI testing library for Robot Framework based on SikuliX',
long_description = DESCRIPTION,
author = 'Subscription QA',
author_email = 'longmazhanfeng@gmail.com',
url = 'https://g.hz.netease.com/yixinplusQA/RFUI_Framework/tree/master/Third-Party-Module/DesktopLibrary',
license = 'Apache License 2.0',
keywords = 'desktop robotframework testing testautomation sikuli UI',
platforms = 'any',
classifiers = CLASSIFIERS.splitlines(),
package_dir = {'' : 'target/src'},
packages = ['SikuliLibrary'],
package_data = {'SikuliLibrary': ['lib/*.jar',]},
)