Skip to content

Commit 7566f8c

Browse files
radarherehugovk
authored andcommitted
Ensure dependencies are installed
1 parent c0e770c commit 7566f8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ sdist:
9292

9393
.PHONY: test
9494
test:
95+
python3 -c "import pytest" || python3 -m pip install pytest
9596
python3 -m pytest -qq
9697

9798
.PHONY: valgrind
@@ -103,6 +104,7 @@ valgrind:
103104

104105
.PHONY: readme
105106
readme:
107+
python3 -c "import markdown2" || python3 -m pip install markdown2
106108
python3 -m markdown2 README.md > .long-description.html && open .long-description.html
107109

108110

@@ -113,5 +115,7 @@ lint:
113115

114116
.PHONY: lint-fix
115117
lint-fix:
118+
python3 -c "import black" || python3 -m pip install black
119+
python3 -c "import isort" || python3 -m pip install isort
116120
python3 -m black --target-version py37 .
117121
python3 -m isort .

0 commit comments

Comments
 (0)