Bug 1856942: part 5) Factor async loading of a sheet out of `Loader::LoadSheet`....
[gecko.git] / testing / mozharness / setup.py
blob092a28af2faf10352a9ce9d41e8b6dee4a443531
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 "nose",
23 "pylint",
24 "pyflakes",
25 "tomlkit",
27 try:
28 import json
29 except ImportError:
30 dependencies.append("simplejson")
32 setup(
33 name="mozharness",
34 version=version,
35 description="Mozharness is a configuration-driven script harness with full logging that allows production infrastructure and individual developers to use the same scripts. ",
36 long_description=description,
37 classifiers=[
38 "Programming Language :: Python :: 2.7",
39 "Programming Language :: Python :: 2 :: Only",
40 ], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
41 author="Aki Sasaki",
42 author_email="aki@mozilla.com",
43 url="https://hg.mozilla.org/build/mozharness/",
44 license="MPL",
45 packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
46 include_package_data=True,
47 zip_safe=False,
48 install_requires=dependencies,
49 entry_points="""
50 # -*- Entry points: -*-
51 """,