Skip to content

Commit 8f159f4

Browse files
gutoxpRiverfount
authored andcommitted
Fix: Refactor Makefile
Replace flit for poetry fix #102 Fix: miss replace reenv for env
1 parent 75cb23b commit 8f159f4

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Makefile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: test pep8 clean install build publish tree reenv
1+
.PHONY: test pep8 clean install build publish tree env
22

33
test: pep8
44
py.test --cov=flask_googlemaps -l --tb=short --maxfail=1 tests/
@@ -15,18 +15,16 @@ clean:
1515
@rm -rf *.egg-info
1616

1717
install:
18-
@pip install flit pypandoc pygments
19-
@flit install -s
18+
@poetry install
2019

2120
build:
22-
@flit build
21+
@poetry build
2322

2423
publish:
25-
@flit publish
24+
@poetry publish
2625

2726
tree:
2827
@tree -L 1 -a -I __pycache__ --dirsfirst --noreport
2928

30-
reenv:
31-
@rm -rf venv
32-
@python3.6 -m venv venv
29+
env:
30+
@poetry env use 3.8

0 commit comments

Comments
 (0)