mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
update tox calls to use run, update all pip calls to use python -m (#86)
This commit is contained in:
@ -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
|
||||
|
||||
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@ -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
Makefile
4
Makefile
@ -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*"
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user