updated Makefile

This commit is contained in:
Christian Vogelgsang 2023-01-18 10:59:05 +01:00
parent b0330e565e
commit 3bbafc486b
2 changed files with 6 additions and 13 deletions

View File

@ -15,7 +15,6 @@ SHOW_CMD = open
help:
@echo "init initialize project"
@echo "init_user initialize project (--user mode)"
@echo "build build native extension"
@echo
@echo "format format source code with black"
@ -35,7 +34,7 @@ help:
@echo "install install package"
@echo "sdist build source dist"
@echo "bdist build bin dist wheel"
@echo "upload upload dist with twin to pypi"
@echo "upload upload sdist with twine to pypi"
init:
$(PIP) install --upgrade setuptools pip
@ -43,12 +42,6 @@ init:
$(PIP) install --upgrade -r requirements-test.txt
$(PIP) install --upgrade --editable .
init_user:
$(PIP) install --user --upgrade setuptools pip
$(PIP) install --user --upgrade -r requirements-dev.txt
$(PIP) install --user --upgrade -r requirements-test.txt
$(PIP) install --user --upgrade --editable .
build:
$(PYTHON) setup.py build_ext -i
@ -57,7 +50,7 @@ format:
# testing
test:
$(PYTHON) setup.py test
./local-tox
# doc
docs:
@ -86,13 +79,13 @@ clean_ext:
# install, distrib
install:
$(PYTHON) setup.py install
$(PIP) install --upgrade --editable .
sdist:
$(PYTHON) setup.py sdist --formats=zip
$(PYTHON) -m build -s
bdist:
$(PYTHON) setup.py bdist_wheel
$(PYTHON) -m build -w
upload: sdist
twine upload dist/*

View File

@ -3,4 +3,4 @@ sphinx
twine
tox
black
build