mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Cleanup Makefile.
- 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)
This commit is contained in:
parent
2583f58442
commit
be90882151
9
.gitignore
vendored
9
.gitignore
vendored
@ -2,6 +2,9 @@
|
|||||||
*.sw*
|
*.sw*
|
||||||
*.pyc
|
*.pyc
|
||||||
*#*
|
*#*
|
||||||
|
venv*
|
||||||
|
__pycache__
|
||||||
|
MANIFEST
|
||||||
build
|
build
|
||||||
dist
|
dist
|
||||||
setuptools-*
|
setuptools-*
|
||||||
@ -14,12 +17,6 @@ distribute-0.6.8.tar.gz
|
|||||||
gunicorn.egg-info
|
gunicorn.egg-info
|
||||||
nohup.out
|
nohup.out
|
||||||
.coverage
|
.coverage
|
||||||
doc/.sass-cache
|
|
||||||
bin/
|
|
||||||
lib/
|
|
||||||
man/
|
|
||||||
include/
|
|
||||||
html/
|
|
||||||
examples/frameworks/pylonstest/PasteScript*
|
examples/frameworks/pylonstest/PasteScript*
|
||||||
examples/frameworks/pylonstest/pylonstest.egg-info/
|
examples/frameworks/pylonstest/pylonstest.egg-info/
|
||||||
examples/frameworks/django/testing/testdb.sql
|
examples/frameworks/django/testing/testdb.sql
|
||||||
|
|||||||
16
Makefile
16
Makefile
@ -1,13 +1,17 @@
|
|||||||
build:
|
build:
|
||||||
virtualenv --no-site-packages .
|
virtualenv venv
|
||||||
bin/python setup.py develop
|
venv/bin/pip install -e .
|
||||||
bin/pip install -r requirements_dev.txt
|
venv/bin/pip install -r requirements_dev.txt
|
||||||
|
|
||||||
test:
|
test:
|
||||||
bin/python setup.py test
|
venv/bin/python setup.py test
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
bin/python setup.py test --cov
|
venv/bin/python setup.py test --cov
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf .Python bin lib include man build html
|
@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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user