1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/testing/tps/setup.py Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,48 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +from setuptools import setup, find_packages 1.9 +import sys 1.10 + 1.11 +version = '0.5' 1.12 + 1.13 +deps = ['httplib2 == 0.7.3', 1.14 + 'mozfile == 1.1', 1.15 + 'mozhttpd == 0.7', 1.16 + 'mozinfo == 0.7', 1.17 + 'mozinstall == 1.10', 1.18 + 'mozprocess == 0.19', 1.19 + 'mozprofile == 0.21', 1.20 + 'mozrunner == 6.0', 1.21 + 'mozversion == 0.6', 1.22 + ] 1.23 + 1.24 +# we only support python 2.6+ right now 1.25 +assert sys.version_info[0] == 2 1.26 +assert sys.version_info[1] >= 6 1.27 + 1.28 +setup(name='tps', 1.29 + version=version, 1.30 + description='run automated multi-profile sync tests', 1.31 + long_description="""\ 1.32 +""", 1.33 + classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers 1.34 + keywords='', 1.35 + author='Mozilla Automation and Tools team', 1.36 + author_email='tools@lists.mozilla.org', 1.37 + url='https://developer.mozilla.org/en-US/docs/TPS', 1.38 + license='MPL 2.0', 1.39 + packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), 1.40 + include_package_data=True, 1.41 + zip_safe=False, 1.42 + install_requires=deps, 1.43 + entry_points=""" 1.44 + # -*- Entry points: -*- 1.45 + [console_scripts] 1.46 + runtps = tps.cli:main 1.47 + """, 1.48 + data_files=[ 1.49 + ('tps', ['config/config.json.in']), 1.50 + ], 1.51 + )