Skip to content

Commit

Permalink
update make commands, avoid setup.py flow
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Mar 27, 2022
1 parent 0b99d67 commit c024177
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ all: build install

.PHONY: build install test docs distclean dist upload

build:
python3 setup.py build

install:
python3 setup.py install
pip install .

test:
pytest --record-mode=once --cov-report term --cov=habanero test/
Expand All @@ -17,14 +14,15 @@ test_no_vcr:
docs:
cd docs;\
make html
# open _build/html/index.html

distclean:
rm dist/*
opendocs:
open docs/_build/html/index.html

clean:
rm -rf dist/* build/*

dist:
python3 setup.py sdist
python3 setup.py bdist_wheel --universal
python3 -m build --sdist --wheel

register:
python3 setup.py register
Expand Down

0 comments on commit c024177

Please sign in to comment.