mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
- The "--no-site-packages" option is default now - "pip install -e" is basically equivalent to "python setup.py develop" - Delete also dist/ and MANIFEST - Delete all *.py[co] files (and __pycache__ directories on Python 3)
18 lines
367 B
Makefile
18 lines
367 B
Makefile
build:
|
|
virtualenv venv
|
|
venv/bin/pip install -e .
|
|
venv/bin/pip install -r requirements_dev.txt
|
|
|
|
test:
|
|
venv/bin/python setup.py test
|
|
|
|
coverage:
|
|
venv/bin/python setup.py test --cov
|
|
|
|
clean:
|
|
@rm -rf .Python MANIFEST build dist venv* *.egg-info
|
|
@find . -type f -name "*.py[co]" -delete
|
|
@find . -type d -name "__pycache__" -delete
|
|
|
|
.PHONY: build clean coverage test
|