Alexei Barantsev | 70795f3 | 2019-07-26 18:48:34 +0300 | [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', |
AutomatedTester | 17122cd | 2020-03-13 19:05:35 +0000 | [diff] [blame] | 30 | 'version': "4.0.0a5", |
Alexei Barantsev | 70795f3 | 2019-07-26 18:48:34 +0300 | [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/', |
Mateusz Kajka | 5750448 | 2020-03-03 21:53:52 +0100 | [diff] [blame] | 35 | 'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', |
Alexei Barantsev | 70795f3 | 2019-07-26 18:48:34 +0300 | [diff] [blame] | 36 | '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 Barantsev | 70795f3 | 2019-07-26 18:48:34 +0300 | [diff] [blame] | 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', |
Long Ly | 0146583 | 2019-08-01 19:46:39 -0700 | [diff] [blame] | 57 | 'selenium.webdriver.chromium', |
Alexei Barantsev | 70795f3 | 2019-07-26 18:48:34 +0300 | [diff] [blame] | 58 | 'selenium.webdriver.chrome', |
| 59 | 'selenium.webdriver.common', |
| 60 | 'selenium.webdriver.common.html5', |
| 61 | 'selenium.webdriver.support', |
| 62 | 'selenium.webdriver.firefox', |
| 63 | 'selenium.webdriver.ie', |
| 64 | 'selenium.webdriver.edge', |
| 65 | 'selenium.webdriver.opera', |
| 66 | 'selenium.webdriver.phantomjs', |
| 67 | 'selenium.webdriver.remote', |
| 68 | 'selenium.webdriver.support', ], |
| 69 | 'include_package_data': True, |
jerome-nexedi | 4b7ed3d | 2020-04-04 05:46:57 +0900 | [diff] [blame] | 70 | 'install_requires': ['urllib3[secure]'], |
Alexei Barantsev | 70795f3 | 2019-07-26 18:48:34 +0300 | [diff] [blame] | 71 | 'zip_safe': False |
| 72 | } |
| 73 | |
| 74 | setup(**setup_args) |