forked from F1ashhimself/UISoup
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
36 lines (32 loc) · 1.1 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
import platform
def package_env(file_name, strict=False):
file_path = path.join(path.dirname(__file__), file_name)
if path.exists(file_path) or strict:
return open(file_path).read()
else:
return ''
if __name__ == '__main__':
required = ['comtypes', 'retrying==1.3.3']
if platform.system() == 'Darwin':
required.append('atomac')
setup(
name='uisoup-yandex',
version='2.5.0',
description='Cross Platform GUI Test Automation tool.',
long_description=package_env('README.rst'),
author='Max Beloborodko, Sergey Chipiga',
author_email='[email protected], [email protected]',
packages=['uisoup'] + ['.'.join(('uisoup', p)) for p in
find_packages('uisoup')],
include_package_data=True,
install_requires=required,
zip_safe=False,
entry_points={
'console_scripts': [
'ui-inspector = uisoup.ui_inspector:main'
]
}
)