Adding upstream version 0.6.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
4a6dd5e474
commit
341025cc97
11 changed files with 1078 additions and 0 deletions
26
Makefile
Normal file
26
Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
.PHONY: setup.py requirements.txt
|
||||
|
||||
DIST_BASENAME := $(shell poetry version | tr ' ' '-')
|
||||
|
||||
all: precheck
|
||||
|
||||
.PHONY: prechck
|
||||
precheck:
|
||||
black . && \
|
||||
pre-commit run -a && \
|
||||
interrogate -c pyproject.toml
|
||||
|
||||
package: setup.py requirements.txt
|
||||
|
||||
setup.py:
|
||||
poetry build && \
|
||||
tar --strip-components=1 -xvf dist/$(DIST_BASENAME).tar.gz '*/setup.py'
|
||||
|
||||
requirements.txt:
|
||||
poetry export --without-hashes > requirements.txt
|
||||
|
||||
clean:
|
||||
rm -rf dist *.egg-info .pytest_cache
|
||||
rm -f requirements.txt setup.py
|
||||
rm -f poetry.lock
|
||||
find . -name '__pycache__' | xargs rm -rf
|
Loading…
Add table
Add a link
Reference in a new issue