update tox calls to use run, update all pip calls to use python -m (#86)

This commit is contained in:
Paul Robinson
2023-04-25 15:20:55 -06:00
committed by pacrob
parent da9b95f37c
commit cc24e7e468
4 changed files with 10 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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
@ -39,7 +39,7 @@ test:
pytest tests
test-all:
tox
tox run
build-docs:
sphinx-apidoc -o docs/ . setup.py "*conftest*"

View File

@ -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
@ -36,7 +36,7 @@ git clone git@github.com: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