mirror of
https://github.com/LIV2/amitools.git
synced 2025-12-06 06:32:47 +00:00
updated Makefile
This commit is contained in:
parent
b0330e565e
commit
3bbafc486b
17
Makefile
17
Makefile
@ -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/*
|
||||
|
||||
@ -3,4 +3,4 @@ sphinx
|
||||
twine
|
||||
tox
|
||||
black
|
||||
|
||||
build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user