blob: a4e1fcf36eb5752ed88f3a3eb78f3fc1556f533e [file] [log] [blame]
Alexei Barantsev70795f32019-07-26 18:48:34 +03001# 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',
AutomatedTester8e520262020-06-05 15:31:08 +010030 'version': "4.0.0a6post2",
Alexei Barantsev70795f32019-07-26 18:48:34 +030031 '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/',
Mateusz Kajka57504482020-03-03 21:53:52 +010035 'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
Alexei Barantsev70795f32019-07-26 18:48:34 +030036 'classifiers': ['Development Status :: 5 - Production/Stable',
37 'Intended Audience :: Developers',
38 'License :: OSI Approved :: Apache Software License',
39 'Operating System :: POSIX',
40 'Operating System :: Microsoft :: Windows',
41 'Operating System :: MacOS :: MacOS X',
42 'Topic :: Software Development :: Testing',
43 'Topic :: Software Development :: Libraries',
44 'Programming Language :: Python',
45 'Programming Language :: Python :: 2.7',
Alexei Barantsev70795f32019-07-26 18:48:34 +030046 'Programming Language :: Python :: 3.5',
47 'Programming Language :: Python :: 3.6'],
48 'package_dir': {
49 'selenium': 'selenium',
50 'selenium.common': 'selenium/common',
51 'selenium.webdriver': 'selenium/webdriver',
52 },
53 'packages': ['selenium',
54 'selenium.common',
55 'selenium.webdriver',
Long Ly01465832019-08-01 19:46:39 -070056 'selenium.webdriver.chromium',
Alexei Barantsev70795f32019-07-26 18:48:34 +030057 'selenium.webdriver.chrome',
58 'selenium.webdriver.common',
59 'selenium.webdriver.common.html5',
60 'selenium.webdriver.support',
61 'selenium.webdriver.firefox',
62 'selenium.webdriver.ie',
63 'selenium.webdriver.edge',
64 'selenium.webdriver.opera',
Alexei Barantsev70795f32019-07-26 18:48:34 +030065 'selenium.webdriver.remote',
66 'selenium.webdriver.support', ],
67 'include_package_data': True,
jerome-nexedi4b7ed3d2020-04-04 05:46:57 +090068 'install_requires': ['urllib3[secure]'],
Alexei Barantsev70795f32019-07-26 18:48:34 +030069 'zip_safe': False
70}
71
72setup(**setup_args)