tor-browser

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

setup.py (1843B)


      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 
      7 from setuptools import find_packages, setup
      8 
      9 try:
     10    here = os.path.dirname(os.path.abspath(__file__))
     11    description = open(os.path.join(here, "README")).read()
     12 except OSError:
     13    description = ""
     14 
     15 version = "0.0"
     16 
     17 with open(os.path.join(here, "requirements.txt")) as f:
     18    dependencies = f.read().splitlines()
     19 
     20 dependency_links = []
     21 
     22 setup(
     23    name="talos",
     24    version=version,
     25    description="Performance testing framework for Windows, Mac and Linux.",
     26    long_description=description,
     27    classifiers=[
     28        "Programming Language :: Python :: 2.7",
     29        "Programming Language :: Python :: 2 :: Only",
     30    ],
     31    # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
     32    author="Mozilla Foundation",
     33    author_email="tools@lists.mozilla.org",
     34    url="https://wiki.mozilla.org/Buildbot/Talos",
     35    license="MPL",
     36    packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
     37    include_package_data=True,
     38    package_data={
     39        "": [
     40            "*.config",
     41            "*.css",
     42            "*.gif",
     43            "*.htm",
     44            "*.html",
     45            "*.ico",
     46            "*.js",
     47            "*.json",
     48            "*.manifest",
     49            "*.php",
     50            "*.png",
     51            "*.rdf",
     52            "*.sqlite",
     53            "*.svg",
     54            "*.xml",
     55            "*.xul",
     56        ]
     57    },
     58    zip_safe=False,
     59    install_requires=dependencies,
     60    dependency_links=dependency_links,
     61    entry_points="""
     62      # -*- Entry points: -*-
     63      [console_scripts]
     64      talos = talos.run_tests:main
     65      talos-results = talos.results:main
     66      """,
     67    test_suite="tests",
     68 )