%global _empty_manifest_terminate_build 0 Name: python-chromedriver-binary Version: 113.0.5672.24.0 Release: 1 Summary: Installer for chromedriver. License: MIT URL: https://github.com/danielkaiser/python-chromedriver-binary Source0: https://mirrors.nju.edu.cn/pypi/web/packages/36/43/065c6235d89e574fe81af8153c38c5058f21313896fb5ec3331f5ecc0c79/chromedriver-binary-113.0.5672.24.0.tar.gz BuildArch: noarch %description # chromedriver-binary Downloads and installs the [chromedriver](https://sites.google.com/a/chromium.org/chromedriver/) binary version 113.0.5672.24 for automated testing of webapps. The installer supports Linux, MacOS and Windows operating systems. Alternatively the package [chromedriver-binary-auto](https://pypi.org/project/chromedriver-binary-auto/) can be used to automatically detect the latest chromedriver version required for the installed Chrome/Chromium browser. ## Installation ### Latest and fixed versions #### From PyPI ``` pip install chromedriver-binary ``` #### From GitHub ``` pip install git+https://github.com/danielkaiser/python-chromedriver-binary.git ``` ### Automatically detected versions Please make sure to install Chrome or Chromium first and add the browser to the binary search path. #### From PyPI ``` pip install chromedriver-binary-auto ``` To redetect the required version and install the newest suitable chromedriver after the first installation simply reinstall the package using ``` pip install --upgrade --force-reinstall chromedriver-binary-auto ``` #### From GitHub ``` pip install git+https://github.com/danielkaiser/python-chromedriver-binary.git@chromedriver-binary-auto ``` If the installed chromedriver version does not match your browser's version please try to [empty pip's cache](https://pip.pypa.io/en/stable/cli/pip_cache/) or disable the cache during (re-)installation. ## Usage To use chromedriver just `import chromedriver_binary`. This will add the executable to your PATH so it will be found. You can also get the absolute filename of the binary with `chromedriver_binary.chromedriver_filename`. ### Example ``` from selenium import webdriver import chromedriver_binary # Adds chromedriver binary to path driver = webdriver.Chrome() driver.get("http://www.python.org") assert "Python" in driver.title ``` ### Exporting chromedriver binary path This package installs a small shell script `chromedriver-path` to easily set and export the PATH variable: ``` $ export PATH=$PATH:`chromedriver-path` ``` %package -n python3-chromedriver-binary Summary: Installer for chromedriver. Provides: python-chromedriver-binary BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-chromedriver-binary # chromedriver-binary Downloads and installs the [chromedriver](https://sites.google.com/a/chromium.org/chromedriver/) binary version 113.0.5672.24 for automated testing of webapps. The installer supports Linux, MacOS and Windows operating systems. Alternatively the package [chromedriver-binary-auto](https://pypi.org/project/chromedriver-binary-auto/) can be used to automatically detect the latest chromedriver version required for the installed Chrome/Chromium browser. ## Installation ### Latest and fixed versions #### From PyPI ``` pip install chromedriver-binary ``` #### From GitHub ``` pip install git+https://github.com/danielkaiser/python-chromedriver-binary.git ``` ### Automatically detected versions Please make sure to install Chrome or Chromium first and add the browser to the binary search path. #### From PyPI ``` pip install chromedriver-binary-auto ``` To redetect the required version and install the newest suitable chromedriver after the first installation simply reinstall the package using ``` pip install --upgrade --force-reinstall chromedriver-binary-auto ``` #### From GitHub ``` pip install git+https://github.com/danielkaiser/python-chromedriver-binary.git@chromedriver-binary-auto ``` If the installed chromedriver version does not match your browser's version please try to [empty pip's cache](https://pip.pypa.io/en/stable/cli/pip_cache/) or disable the cache during (re-)installation. ## Usage To use chromedriver just `import chromedriver_binary`. This will add the executable to your PATH so it will be found. You can also get the absolute filename of the binary with `chromedriver_binary.chromedriver_filename`. ### Example ``` from selenium import webdriver import chromedriver_binary # Adds chromedriver binary to path driver = webdriver.Chrome() driver.get("http://www.python.org") assert "Python" in driver.title ``` ### Exporting chromedriver binary path This package installs a small shell script `chromedriver-path` to easily set and export the PATH variable: ``` $ export PATH=$PATH:`chromedriver-path` ``` %package help Summary: Development documents and examples for chromedriver-binary Provides: python3-chromedriver-binary-doc %description help # chromedriver-binary Downloads and installs the [chromedriver](https://sites.google.com/a/chromium.org/chromedriver/) binary version 113.0.5672.24 for automated testing of webapps. The installer supports Linux, MacOS and Windows operating systems. Alternatively the package [chromedriver-binary-auto](https://pypi.org/project/chromedriver-binary-auto/) can be used to automatically detect the latest chromedriver version required for the installed Chrome/Chromium browser. ## Installation ### Latest and fixed versions #### From PyPI ``` pip install chromedriver-binary ``` #### From GitHub ``` pip install git+https://github.com/danielkaiser/python-chromedriver-binary.git ``` ### Automatically detected versions Please make sure to install Chrome or Chromium first and add the browser to the binary search path. #### From PyPI ``` pip install chromedriver-binary-auto ``` To redetect the required version and install the newest suitable chromedriver after the first installation simply reinstall the package using ``` pip install --upgrade --force-reinstall chromedriver-binary-auto ``` #### From GitHub ``` pip install git+https://github.com/danielkaiser/python-chromedriver-binary.git@chromedriver-binary-auto ``` If the installed chromedriver version does not match your browser's version please try to [empty pip's cache](https://pip.pypa.io/en/stable/cli/pip_cache/) or disable the cache during (re-)installation. ## Usage To use chromedriver just `import chromedriver_binary`. This will add the executable to your PATH so it will be found. You can also get the absolute filename of the binary with `chromedriver_binary.chromedriver_filename`. ### Example ``` from selenium import webdriver import chromedriver_binary # Adds chromedriver binary to path driver = webdriver.Chrome() driver.get("http://www.python.org") assert "Python" in driver.title ``` ### Exporting chromedriver binary path This package installs a small shell script `chromedriver-path` to easily set and export the PATH variable: ``` $ export PATH=$PATH:`chromedriver-path` ``` %prep %autosetup -n chromedriver-binary-113.0.5672.24.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-chromedriver-binary -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Apr 11 2023 Python_Bot - 113.0.5672.24.0-1 - Package Spec generated