forked from radical-cybertools/radical.saga
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
63 lines (52 loc) · 1.67 KB
/
Makefile
File metadata and controls
63 lines (52 loc) · 1.67 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.PHONY: all docs clean
all: docs
docs:
make -C docs html
test:
nosetests tests.restapi --config=tests/nose.cfg
copyright:
pylint:
@for f in `find saga/ -name \*.py`; do \
res=`pylint -r n -f text $$f 2>&1 | grep -e '^[FE]'` ;\
test -z "$$res" || ( \
echo '----------------------------------------------------------------------' ;\
echo $$f ;\
echo '-----------------------------------' ;\
echo $$res | sed -e 's/ \([FEWRC]:\)/\n\1/g' ;\
echo \
) \
done | tee pylint.out;\
`cat pylint.out | wc -c`
viz:
gource -s 0.1 -i 0 --title saga-python --max-files 99999 --max-file-lag -1 --user-friction 0.3 --user-scale 0.5 --camera-mode overview --highlight-users --hide progress,filenames -r 25 -viewport 1024x1024
clean:
-rm -rf build/ saga.egg-info/ temp/ MANIFEST dist/ saga_python.egg-info
make -C docs clean
find . -name \*.pyc -exec rm -f {} \;
andre:
source ~/.virtualenv/saga-python/bin/activate ; \
rm -rf ~.virtualenv/saga-python/lib/python*/site-packages/saga-1.0-py2.6.egg/ ; \
easy_install . ; \
python test/test_engine.py ; \
python examples/jobs/localjobcontainer.py
mark:
source ~/.virtualenv/saga-python/bin/activate ; \
rm -rf ~.virtualenv/saga-python/lib/python*/site-packages/saga-1.0-py2.6.egg/ ; \
easy_install . ; \
# pages: gh-pages
#
# gh-pages:
# make clean
# make docs
# git add -f docs/build/html/*
# git add -f docs/build/html/*/*
# git add -f docs/build/doctrees/*
# git add -f docs/build/doctrees/*/*
# git add -f docs/source/*
# git add -f docs/source/*/*
# git ci -m 'regenerate documentation'
# git co gh-pages
# git rebase devel
# git co devel
# git push --all
#