blob: 12a3850e0a91786b68c18d6ec1011a87db29b732 [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',
30 'version': "4.0.0a1",
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/',
35 'classifiers': ['Development Status :: 5 - Production/Stable',
36 'Intended Audience :: Developers',
37 'License :: OSI Approved :: Apache Software License',
38 'Operating System :: POSIX',
39 'Operating System :: Microsoft :: Windows',
40 'Operating System :: MacOS :: MacOS X',
41 'Topic :: Software Development :: Testing',
42 'Topic :: Software Development :: Libraries',
43 'Programming Language :: Python',
44 'Programming Language :: Python :: 2.7',
45 'Programming Language :: Python :: 3.4',
46 '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',
56 'selenium.webdriver.android',
57 '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',
65 'selenium.webdriver.phantomjs',
66 'selenium.webdriver.remote',
67 'selenium.webdriver.support', ],
68 'include_package_data': True,
69 'install_requires': ['urllib3'],
70 'zip_safe': False
71}
72
73setup(**setup_args)