mirror of
https://github.com/jsvine/pdfplumber.git
synced 2026-08-29 08:34:23 +08:00
15 lines
402 B
Makefile
15 lines
402 B
Makefile
.PHONY: venv tests
|
|
PYTHON=venv/bin/python
|
|
PIP=venv/bin/pip
|
|
|
|
venv:
|
|
python -m venv venv
|
|
${PIP} install --upgrade pip
|
|
${PIP} freeze --exclude-editable | xargs ${PIP} uninstall -y | true
|
|
${PIP} install -r requirements.txt
|
|
${PIP} install -r requirements-dev.txt
|
|
${PIP} install -e .
|
|
|
|
tests:
|
|
${PYTHON} -m pytest --cov=pdfplumber --cov-config=.coveragerc --cov-report xml:coverage.xml --cov-report term
|