blob: 17a2057cba358779d4a2991f4114828fc8527c15 [file] [log] [blame]
Alexei Barantsev70795f32019-07-26 15:48:341# 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
18from distutils.command.install import INSTALL_SCHEMES
19from os.path import dirname, join, abspath
20from setuptools import setup
21from setuptools.command.install import install
22
23
24for scheme in INSTALL_SCHEMES.values():
25 scheme['data'] = scheme['purelib']
26
27setup_args = {
28 'cmdclass': {'install': install},
29 'name': 'selenium',
titusfortner8a9c6972023-11-03 21:38:2130 'version': "4.15.2",
Alexei Barantsev70795f32019-07-26 15:48:3431 '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 Narlock4e460262022-08-05 20:51:5235 '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 },
AutomatedTester7d64e672020-11-06 12:07:0741 'python_requires': '~=3.7',
Alexei Barantsev70795f32019-07-26 15:48:3442 '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',
AutomatedTester2cf394d2020-11-05 22:03:1651 'Programming Language :: Python :: 3.7',
52 'Programming Language :: Python :: 3.8',
53 'Programming Language :: Python :: 3.9'],
Alexei Barantsev70795f32019-07-26 15:48:3454 '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 Ly01465832019-08-02 02:46:3962 'selenium.webdriver.chromium',
Alexei Barantsev70795f32019-07-26 15:48:3463 '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 Barantsev70795f32019-07-26 15:48:3470 'selenium.webdriver.remote',
71 'selenium.webdriver.support', ],
72 'include_package_data': True,
Michael Mintzbf576de2022-08-18 17:47:0173 'install_requires': [
Michael Mintz97f47c82023-05-05 13:06:0974 "urllib3[socks]>=1.26,<3",
Michael Mintzbf576de2022-08-18 17:47:0175 "trio~=0.17",
76 "trio-websocket~=0.9",
77 "certifi>=2021.10.8",
78 ],
Alexei Barantsev70795f32019-07-26 15:48:3479 'zip_safe': False
80}
81
82setup(**setup_args)