Skip to content

Commit

Permalink
update tox calls to use run, update all pip calls to use python -m (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed May 1, 2023
1 parent da9b95f commit cc24e7e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ clean-pyc:
find . -name '__pycache__' -exec rm -rf {} +

lint:
tox -e lint
tox run -e lint

lint-roll:
isort <MODULE_NAME> tests
Expand All @@ -39,7 +39,7 @@ test:
pytest tests

test-all:
tox
tox run

build-docs:
sphinx-apidoc -o docs/ . setup.py "*conftest*"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Read more in the [documentation on ReadTheDocs](https://<RTD_NAME>.readthedocs.i
## Quickstart

```sh
pip install <PYPI_NAME>
python -m pip install <PYPI_NAME>
```

## Developer Setup
Expand All @@ -36,7 +36,7 @@ git clone [email protected]:ethereum/<REPO_NAME>.git
cd <REPO_NAME>
virtualenv -p python3 venv
. venv/bin/activate
pip install -e ".[dev]"
python -m pip install -e ".[dev]"
```

### Release setup
Expand Down

0 comments on commit cc24e7e

Please sign in to comment.