Alexei Barantsev | 70795f3 | 2019-07-26 15:48:34 | [diff] [blame] | 1 | # Licensed to the Software Freedom Conservancy (SFC) under one |
| 2 | # or more contributor license agreements. See the NOTICE file |
| 3 | # distributed with this work for additional information |
| 4 | # regarding copyright ownership. The SFC licenses this file |
| 5 | # to you under the Apache License, Version 2.0 (the |
| 6 | # "License"); you may not use this file except in compliance |
| 7 | # with the License. You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, |
| 12 | # software distributed under the License is distributed on an |
| 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | # KIND, either express or implied. See the License for the |
| 15 | # specific language governing permissions and limitations |
| 16 | # under the License. |
| 17 | |
| 18 | from distutils.command.install import INSTALL_SCHEMES |
| 19 | from os.path import dirname, join, abspath |
| 20 | from setuptools import setup |
| 21 | from setuptools.command.install import install |
| 22 | |
| 23 | |
| 24 | for scheme in INSTALL_SCHEMES.values(): |
| 25 | scheme['data'] = scheme['purelib'] |
| 26 | |
| 27 | setup_args = { |
| 28 | 'cmdclass': {'install': install}, |
| 29 | 'name': 'selenium', |
titusfortner | 8a9c697 | 2023-11-03 21:38:21 | [diff] [blame] | 30 | 'version': "4.15.2", |
Alexei Barantsev | 70795f3 | 2019-07-26 15:48:34 | [diff] [blame] | 31 | 'license': 'Apache 2.0', |
| 32 | 'description': 'Python bindings for Selenium', |
| 33 | 'long_description': open(join(abspath(dirname(__file__)), "README.rst")).read(), |
| 34 | 'url': 'https://github.com/SeleniumHQ/selenium/', |
Tony Narlock | 4e46026 | 2022-08-05 20:51:52 | [diff] [blame] | 35 | 'project_urls': { |
| 36 | 'Bug Tracker': 'https://github.com/SeleniumHQ/selenium/issues', |
| 37 | 'Changes': 'https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES', |
| 38 | 'Documentation': 'https://www.selenium.dev/documentation/overview/', |
| 39 | 'Source Code': 'https://github.com/SeleniumHQ/selenium/tree/trunk/py', |
| 40 | }, |
AutomatedTester | 7d64e67 | 2020-11-06 12:07:07 | [diff] [blame] | 41 | 'python_requires': '~=3.7', |
Alexei Barantsev | 70795f3 | 2019-07-26 15:48:34 | [diff] [blame] | 42 | 'classifiers': ['Development Status :: 5 - Production/Stable', |
| 43 | 'Intended Audience :: Developers', |
| 44 | 'License :: OSI Approved :: Apache Software License', |
| 45 | 'Operating System :: POSIX', |
| 46 | 'Operating System :: Microsoft :: Windows', |
| 47 | 'Operating System :: MacOS :: MacOS X', |
| 48 | 'Topic :: Software Development :: Testing', |
| 49 | 'Topic :: Software Development :: Libraries', |
| 50 | 'Programming Language :: Python', |
AutomatedTester | 2cf394d | 2020-11-05 22:03:16 | [diff] [blame] | 51 | 'Programming Language :: Python :: 3.7', |
| 52 | 'Programming Language :: Python :: 3.8', |
| 53 | 'Programming Language :: Python :: 3.9'], |
Alexei Barantsev | 70795f3 | 2019-07-26 15:48:34 | [diff] [blame] | 54 | 'package_dir': { |
| 55 | 'selenium': 'selenium', |
| 56 | 'selenium.common': 'selenium/common', |
| 57 | 'selenium.webdriver': 'selenium/webdriver', |
| 58 | }, |
| 59 | 'packages': ['selenium', |
| 60 | 'selenium.common', |
| 61 | 'selenium.webdriver', |
Long Ly | 0146583 | 2019-08-02 02:46:39 | [diff] [blame] | 62 | 'selenium.webdriver.chromium', |
Alexei Barantsev | 70795f3 | 2019-07-26 15:48:34 | [diff] [blame] | 63 | 'selenium.webdriver.chrome', |
| 64 | 'selenium.webdriver.common', |
| 65 | 'selenium.webdriver.common.html5', |
| 66 | 'selenium.webdriver.support', |
| 67 | 'selenium.webdriver.firefox', |
| 68 | 'selenium.webdriver.ie', |
| 69 | 'selenium.webdriver.edge', |
Alexei Barantsev | 70795f3 | 2019-07-26 15:48:34 | [diff] [blame] | 70 | 'selenium.webdriver.remote', |
| 71 | 'selenium.webdriver.support', ], |
| 72 | 'include_package_data': True, |
Michael Mintz | bf576de | 2022-08-18 17:47:01 | [diff] [blame] | 73 | 'install_requires': [ |
Michael Mintz | 97f47c8 | 2023-05-05 13:06:09 | [diff] [blame] | 74 | "urllib3[socks]>=1.26,<3", |
Michael Mintz | bf576de | 2022-08-18 17:47:01 | [diff] [blame] | 75 | "trio~=0.17", |
| 76 | "trio-websocket~=0.9", |
| 77 | "certifi>=2021.10.8", |
| 78 | ], |
Alexei Barantsev | 70795f3 | 2019-07-26 15:48:34 | [diff] [blame] | 79 | 'zip_safe': False |
| 80 | } |
| 81 | |
| 82 | setup(**setup_args) |