tor-browser

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

setup.py (2314B)


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