Bug 1890277: part 4) Add CSPParser support for the `trusted-types` directive, guarded...
[gecko.git] / testing / mozbase / mozinstall / setup.py
blobecd1dec578b32d0f21160d149f473aebd04364a0
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 file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/.
5 import os
7 from setuptools import setup
9 try:
10 here = os.path.dirname(os.path.abspath(__file__))
11 description = open(os.path.join(here, "README.md")).read()
12 except IOError:
13 description = None
15 PACKAGE_VERSION = "2.1.0"
17 deps = [
18 "mozinfo >= 0.7",
19 "mozfile >= 1.0",
20 "requests",
21 "six >= 1.13.0",
24 setup(
25 name="mozInstall",
26 version=PACKAGE_VERSION,
27 description="package for installing and uninstalling Mozilla applications",
28 long_description="see https://firefox-source-docs.mozilla.org/mozbase/index.html",
29 # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
30 classifiers=[
31 "Environment :: Console",
32 "Intended Audience :: Developers",
33 "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
34 "Natural Language :: English",
35 "Operating System :: OS Independent",
36 "Topic :: Software Development :: Libraries :: Python Modules",
37 "Programming Language :: Python :: 2.7",
38 "Programming Language :: Python :: 3",
40 keywords="mozilla",
41 author="Mozilla Automation and Tools team",
42 author_email="tools@lists.mozilla.org",
43 url="https://wiki.mozilla.org/Auto-tools/Projects/Mozbase",
44 license="MPL 2.0",
45 packages=["mozinstall"],
46 include_package_data=True,
47 zip_safe=False,
48 install_requires=deps,
49 # we have to generate two more executables for those systems that cannot run as Administrator
50 # and the filename containing "install" triggers the UAC
51 entry_points="""
52 # -*- Entry points: -*-
53 [console_scripts]
54 mozinstall = mozinstall:install_cli
55 mozuninstall = mozinstall:uninstall_cli
56 moz_add_to_system = mozinstall:install_cli
57 moz_remove_from_system = mozinstall:uninstall_cli
58 """,