From a111de032e60f0634b8dd30b3d1f60ce94c55d15 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Fri, 8 Oct 2021 23:58:31 -0400 Subject: [PATCH] Update the docs --- docs/requirements.txt | 4 ++-- help_docs/install_python_pip_git.md | 11 +++++++++-- seleniumbase/console_scripts/ReadMe.md | 4 ---- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 07f5dc07..2d58335a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -regex>=2021.9.30 +regex>=2021.10.8 tqdm>=4.62.3 livereload==2.6.3;python_version>="3.6" joblib==1.1.0;python_version>="3.6" @@ -10,7 +10,7 @@ python-dateutil==2.8.2 keyring==23.2.1;python_version>="3.6" pkginfo==1.7.1;python_version>="3.6" Jinja2==3.0.2;python_version>="3.6" -click==8.0.1;python_version>="3.6" +click==8.0.2;python_version>="3.6" zipp==3.6.0;python_version>="3.6" readme-renderer==30.0 pymdown-extensions==9.0;python_version>="3.6" diff --git a/help_docs/install_python_pip_git.md b/help_docs/install_python_pip_git.md index 4f43f6f9..41311eda 100755 --- a/help_docs/install_python_pip_git.md +++ b/help_docs/install_python_pip_git.md @@ -24,33 +24,40 @@ pip install -U setuptools If that didn't work, here are some more commands you can try: On macOS / Windows / Linux, run the following command: + ```bash python -m ensurepip --default-pip ``` If your existing version of pip is old, upgrade to the latest version: + ```bash python -m pip install --upgrade pip setuptools ``` On CentOS 7 and some versions of Linux, you may need to install pip with ``yum``: + ```bash yum -y update yum -y install python-pip ``` -If you're having any trouble getting pip, you can [GET PIP HERE](https://pip.pypa.io/en/latest/installing/). +If you're having any trouble getting pip, you can [GET PIP HERE](https://pip.pypa.io/en/latest/installation/). When done, make sure the location of pip is on your path, which is ``$PATH`` for macOS/Linux. (On Windows, it's the System Variables ``Path`` within System Environment Variables.) You can also get pip (or fix pip) by using: + ```bash curl https://bootstrap.pypa.io/get-pip.py | python ``` + * (If you get SSL errors while trying to install packages with pip, see [this Stackoverflow post](https://stackoverflow.com/questions/49768770/not-able-to-install-python-packages-ssl-tlsv1-alert-protocol-version), which tells you to run the above command.) **Keep Pip and Setuptools up-to-date:** -``` + +```bash python -m pip install -U pip setuptools ``` + * (Depending on your user permissions, you may need to add ``--user`` to the command if you're not inside a [Python virtual environment](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/virtualenv_instructions.md), or use "[sudo](https://en.wikipedia.org/wiki/Sudo)" on a UNIX-based OS if you're getting errors during installation.) diff --git a/seleniumbase/console_scripts/ReadMe.md b/seleniumbase/console_scripts/ReadMe.md index b45eabc9..e6757a91 100755 --- a/seleniumbase/console_scripts/ReadMe.md +++ b/seleniumbase/console_scripts/ReadMe.md @@ -86,7 +86,6 @@ test frameworks. ```bash ui_tests/ -│ ├── __init__.py ├── my_first_test.py ├── parameterized_test.py @@ -95,7 +94,6 @@ ui_tests/ ├── setup.cfg ├── test_demo_site.py └── boilerplates/ - │ ├── __init__.py ├── base_test_case.py ├── boilerplate_test.py @@ -103,7 +101,6 @@ ui_tests/ ├── page_objects.py ├── sb_fixture_test.py └── samples/ - │ ├── __init__.py ├── google_objects.py ├── google_test.py @@ -115,7 +112,6 @@ If running with the ``-b`` or ``--basic`` option: ```bash ui_tests/ -│ ├── __init__.py ├── pytest.ini ├── requirements.txt