Skip to content

Commit c0e770c

Browse files
radarherehugovk
authored andcommitted
Invoke commands through python3
1 parent 8c52290 commit c0e770c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ release-test:
8181
-rm dist/*.egg
8282
-rmdir dist
8383
python3 -m pytest -qq
84-
check-manifest
85-
pyroma .
84+
python3 -m check-manifest
85+
python3 -m pyroma .
8686
$(MAKE) readme
8787

8888
.PHONY: sdist
@@ -92,7 +92,7 @@ sdist:
9292

9393
.PHONY: test
9494
test:
95-
pytest -qq
95+
python3 -m pytest -qq
9696

9797
.PHONY: valgrind
9898
valgrind:
@@ -103,15 +103,15 @@ valgrind:
103103

104104
.PHONY: readme
105105
readme:
106-
markdown2 README.md > .long-description.html && open .long-description.html
106+
python3 -m markdown2 README.md > .long-description.html && open .long-description.html
107107

108108

109109
.PHONY: lint
110110
lint:
111-
tox --help > /dev/null || python3 -m pip install tox
112-
tox -e lint
111+
python3 -c "import tox" || python3 -m pip install tox
112+
python3 -m tox -e lint
113113

114114
.PHONY: lint-fix
115115
lint-fix:
116-
black --target-version py37 .
117-
isort .
116+
python3 -m black --target-version py37 .
117+
python3 -m isort .

0 commit comments

Comments
 (0)