This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (59 loc) · 2.08 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# coding: utf-8
import os
import sys
from setuptools import setup
__author__ = "Chetan Jain <[email protected]>"
install_requires = [
"requests",
"packaging"
]
extras_require = {}
with open("README.md") as readme_file:
long_description = readme_file.read()
# 'setup.py publish' shortcut.
if sys.argv[-1] == "publish":
os.system("python3 setup.py sdist bdist_wheel")
os.system("twine upload dist/*")
sys.exit()
elif sys.argv[-1] == "clean":
import shutil
if os.path.isdir("build"):
shutil.rmtree("build")
if os.path.isdir("dist"):
shutil.rmtree("dist")
if os.path.isdir("chromedriver_autoinstaller_fix.egg-info"):
shutil.rmtree("chromedriver_autoinstaller_fix.egg-info")
setup(
name="chromedriver-autoinstaller-fix",
version="1.0.5",
author='Chetan Jain',
author_email='[email protected]',
description="Automatically install chromedriver that supports the currently installed version of chrome.",
license="MIT",
keywords="chromedriver chrome chromium selenium",
url="https://github.com/omkarcloud/chromedriver-autoinstaller-fix",
packages=["chromedriver_autoinstaller_fix"],
entry_points={
"console_scripts": [
"chromedriver-path=chromedriver_autoinstaller_fix.utils:print_chromedriver_path"
],
},
long_description_content_type="text/markdown",
long_description=long_description,
python_requires=">=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Testing",
"Topic :: System :: Installation/Setup",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
install_requires=install_requires,
extras_require=extras_require,
)