Backed out changeset bcbab342eed8 (bug 1889658) for causing wpt reftest failures...
[gecko.git] / testing / mozharness / setup.py
blob64fde142fec3829d41c8b191f63c85dc3945cee8
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 import os
6 from setuptools import setup, find_packages
8 try:
9 here = os.path.dirname(os.path.abspath(__file__))
10 description = open(os.path.join(here, "README.txt")).read()
11 except IOError:
12 description = ""
14 import mozharness
16 version = mozharness.version_string
18 dependencies = [
19 "virtualenv",
20 "mock",
21 "coverage",
22 "pynose",
23 "pylint",
24 "pyflakes",
25 "toml",
26 "tomlkit",
28 try:
29 import json
30 except ImportError:
31 dependencies.append("simplejson")
33 setup(
34 name="mozharness",
35 version=version,
36 description="Mozharness is a configuration-driven script harness with full logging that allows production infrastructure and individual developers to use the same scripts. ",
37 long_description=description,
38 classifiers=[
39 "Programming Language :: Python :: 2.7",
40 "Programming Language :: Python :: 2 :: Only",
41 ], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
42 author="Aki Sasaki",
43 author_email="aki@mozilla.com",
44 url="https://hg.mozilla.org/build/mozharness/",
45 license="MPL",
46 packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
47 include_package_data=True,
48 zip_safe=False,
49 install_requires=dependencies,
50 entry_points="""
51 # -*- Entry points: -*-
52 """,