blob: 56a79ff2bd5bf9740c37e6bedd9ec5b4ea58cb3c [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',
AutomatedTesterdaae7782019-10-01 12:28:03 +010030 'version': "4.0.0a3",
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/',
AutomatedTesterc6f1a5f2019-10-22 14:03:28 +010035 'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
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',
46 'Programming Language :: Python :: 3.4',
47 'Programming Language :: Python :: 3.5',
48 'Programming Language :: Python :: 3.6'],
49 'package_dir': {
50 'selenium': 'selenium',
51 'selenium.common': 'selenium/common',
52 'selenium.webdriver': 'selenium/webdriver',
53 },
54 'packages': ['selenium',
55 'selenium.common',
56 'selenium.webdriver',
57 'selenium.webdriver.android',
Long Ly01465832019-08-01 19:46:39 -070058 'selenium.webdriver.chromium',
Alexei Barantsev70795f32019-07-26 18:48:34 +030059 'selenium.webdriver.chrome',
60 'selenium.webdriver.common',
61 'selenium.webdriver.common.html5',
62 'selenium.webdriver.support',
63 'selenium.webdriver.firefox',
64 'selenium.webdriver.ie',
65 'selenium.webdriver.edge',
66 'selenium.webdriver.opera',
67 'selenium.webdriver.phantomjs',
68 'selenium.webdriver.remote',
69 'selenium.webdriver.support', ],
70 'include_package_data': True,
71 'install_requires': ['urllib3'],
72 'zip_safe': False
73}
74
75setup(**setup_args)