forked from pyatom/pyatom
/
setup.py
65 lines (55 loc) · 2.14 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
63
64
65
# Copyright (c) 2010 VMware, Inc. All Rights Reserved.
# This file is part of ATOMac.
# ATOMac is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by the Free
# Software Foundation version 2 and no later version.
# ATOMac is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2
# for more details.
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
# St, Fifth Floor, Boston, MA 02110-1301 USA.
from setuptools import setup
import os
# set __version__ variable
try:
execfile('atomac/version.py')
except NameError:
exec (open('atomac/version.py').read())
def read(fname):
"""
Returns the contents of the specified file located in the same dir as
the script
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='atomac',
version=__version__,
author='The ATOMac Team',
author_email='pyatom-dev@lists.pyatom.com',
url='http://pyatom.com',
description=("Automated Testing on Mac - test GUI applications "
"written in Cocoa by using Apple's Accessibility API"),
license='GPLv2',
long_description=read('README.rst'),
packages=['atomac', 'atomac.ldtpd', 'atomac.ldtp', 'atomac.ooldtp'],
install_requires=[
'pyobjc-core==8.0b1',
'pyobjc-framework-Cocoa==8.0b1',
'pyobjc-framework-Quartz==8.0b1',
'pyobjc-framework-ApplicationServices==8.0b1',
'pyobjc-framework-CoreText==8.0b1',
'future',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: MacOS X :: Cocoa',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
],
entry_points={
'console_scripts': ['ldtp = atomac.ldtpd:main'],
},
)