tor-browser

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

setup.py (2125B)


      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 import re
      7 
      8 from setuptools import find_packages, setup
      9 
     10 THIS_DIR = os.path.dirname(os.path.realpath(__name__))
     11 
     12 
     13 def read(*parts):
     14    with open(os.path.join(THIS_DIR, *parts)) as f:
     15        return f.read()
     16 
     17 
     18 def get_version():
     19    return re.findall(
     20        r'__version__ = "([\d\.]+)"', read("marionette_driver", "__init__.py"), re.M
     21    )[0]
     22 
     23 
     24 setup(
     25    name="marionette_driver",
     26    version=get_version(),
     27    description="Marionette Driver",
     28    long_description="""Note marionette_driver is no longer supported.
     29 
     30 For more information see https://firefox-source-docs.mozilla.org/python/marionette_driver.html""",
     31    # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
     32    classifiers=[
     33        "Development Status :: 7 - Inactive",
     34        "Intended Audience :: Developers",
     35        "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
     36        "Operating System :: MacOS :: MacOS X",
     37        "Operating System :: Microsoft :: Windows",
     38        "Operating System :: POSIX",
     39        "Topic :: Software Development :: Quality Assurance",
     40        "Topic :: Software Development :: Testing",
     41        "Topic :: Utilities",
     42        "Programming Language :: Python",
     43        "Programming Language :: Python :: 3 :: Only",
     44        "Programming Language :: Python :: 3.8",
     45        "Programming Language :: Python :: 3.9",
     46        "Programming Language :: Python :: 3.10",
     47        "Programming Language :: Python :: 3.11",
     48        "Programming Language :: Python :: 3.12",
     49        "Programming Language :: Python :: 3.13",
     50    ],
     51    keywords="mozilla",
     52    author="Auto-tools",
     53    author_email="dev-webdriver@mozilla.org",
     54    url="https://wiki.mozilla.org/Auto-tools/Projects/Marionette",
     55    license="MPL",
     56    packages=find_packages(),
     57    include_package_data=True,
     58    zip_safe=False,
     59    install_requires=read("requirements.txt").splitlines(),
     60    python_requires=">=3.8",
     61 )