tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

setup.py (1522B)


      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/.
      4 
      5 import os
      6 from setuptools import setup, find_packages
      7 
      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 = ""
     13 
     14 import mozharness
     15 
     16 version = mozharness.version_string
     17 
     18 dependencies = [
     19    "virtualenv",
     20    "mock",
     21    "coverage",
     22    "pynose",
     23    "pylint",
     24    "pyflakes",
     25    "pyyaml",
     26    "toml",
     27    "tomlkit",
     28 ]
     29 try:
     30    import json
     31 except ImportError:
     32    dependencies.append("simplejson")
     33 
     34 setup(
     35    name="mozharness",
     36    version=version,
     37    description="Mozharness is a configuration-driven script harness with full logging that allows production infrastructure and individual developers to use the same scripts. ",
     38    long_description=description,
     39    classifiers=[
     40        "Programming Language :: Python :: 2.7",
     41        "Programming Language :: Python :: 2 :: Only",
     42    ],  # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
     43    author="Aki Sasaki",
     44    author_email="aki@mozilla.com",
     45    url="https://hg.mozilla.org/build/mozharness/",
     46    license="MPL",
     47    packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
     48    include_package_data=True,
     49    zip_safe=False,
     50    install_requires=dependencies,
     51    entry_points="""
     52      # -*- Entry points: -*-
     53      """,
     54 )