forked from IntuitiveWebSolutions/PyWebRunner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (32 loc) · 715 Bytes
/
Copy pathMakefile
File metadata and controls
43 lines (32 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PYTHON=`which python`
PYTHON3=`which python3`
test:
pip install -r requirements.txt
pip install wait
pip install pytest
pip install -U .
py.test tests/test_*.py
doc:
cd docs; make html
source:
$(PYTHON) setup.py sdist
upload:
$(PYTHON) setup.py register sdist upload
pypi:
pandoc --from=markdown --to=rst --output=README.rst README.md
make source
make upload
install:
@echo "Installing for Python 2..."
$(PYTHON) setup.py install
@echo "Installing for Python 3..."
$(PYTHON3) setup.py install
clean:
$(PYTHON) setup.py clean
rm -rf build/ MANIFEST
make delpyc
delpyc:
find . -name '*.pyc' -delete
install-libs:
pip-2.7 install -U requirements.txt
pip-3.2 install -U requirements.txt