From cc24e7e468d652f59ac9f484f9600460f6b8a295 Mon Sep 17 00:00:00 2001 From: Paul Robinson <5199899+pacrob@users.noreply.github.com> Date: Tue, 25 Apr 2023 15:20:55 -0600 Subject: [PATCH] update tox calls to use run, update all pip calls to use python -m (#86) --- .circleci/config.yml | 4 ++-- .github/ISSUE_TEMPLATE/bug_report.yml | 6 ++++-- Makefile | 4 ++-- README.md | 4 ++-- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b00ff6b8..791a433d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,7 @@ common: &common python -m pip install tox - run: name: run tox - command: python -m tox -r + command: python -m tox run -r - save_cache: paths: - .hypothesis @@ -57,7 +57,7 @@ windows_steps: &windows_steps python -m pip install tox - run: name: run tox - command: python -m tox -r + command: python -m tox run -r - save_cache: paths: - .tox diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5f1ddfd8..a0c80c07 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -65,6 +65,8 @@ body: - type: textarea id: pip-freeze attributes: - label: Output from pip-freeze - description: Run `pip-freeze` and paste the output below + label: Output from `pip freeze` + description: Run `python -m pip freeze` and paste the output below render: shell + validations: + required: false diff --git a/Makefile b/Makefile index 5f731893..b674c553 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ clean-pyc: find . -name '__pycache__' -exec rm -rf {} + lint: - tox -e lint + tox run -e lint lint-roll: isort tests @@ -39,7 +39,7 @@ test: pytest tests test-all: - tox + tox run build-docs: sphinx-apidoc -o docs/ . setup.py "*conftest*" diff --git a/README.md b/README.md index 7d126455..b3be7487 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Read more in the [documentation on ReadTheDocs](https://.readthedocs.i ## Quickstart ```sh -pip install +python -m pip install ``` ## Developer Setup @@ -36,7 +36,7 @@ git clone git@github.com:ethereum/.git cd virtualenv -p python3 venv . venv/bin/activate -pip install -e ".[dev]" +python -m pip install -e ".[dev]" ``` ### Release setup