-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
56 lines (38 loc) · 1.22 KB
/
Makefile
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
PYTHON=python
all: clean pre_deps bootstrap buildout post_deps
dev: clean pre_deps bootstrap buildout_dev post_deps
clean:
rm -Rf .installed.cfg bin downloads run develop-eggs eggs log parts
pre_deps: pip sys-deps
post_deps: restfulie cyclone should_dsl funkload
sys-deps:
sudo apt-get install ffmpeg python-imaging python-argparse python-opencv libxslt1.1 libxslt1-dev libxml2-dev python-dev python-setuptools python-webunit python-docutils gnuplot -y
pip:
easy_install pip
restfulie:
pip install restfulie
cyclone:
pip install twisted cyclone
should_dsl:
pip install should-dsl
funkload:
pip install funkload
granulate_performance:
cd tests && python testPerformanceVideoGranulate.py
load_test:
bin/videogranulate_ctl start
bin/add-user.py test test
cd tests && fl-run-bench testFunkLoad.py VideoGranulateBench.test_granulate
cd tests && fl-build-report --html videogranulate-bench.xml -r funkload_report
bin/videogranulate_ctl stop
bin/del-user.py test
load_test_report:
cd tests && fl-build-report --html videogranulate-bench.xml -r funkload_report
bootstrap:
$(PYTHON) bootstrap.py
buildout:
bin/buildout -vv
buildout_dev:
bin/buildout -vvc develop.cfg
test:
cd tests && $(PYTHON) testVideoGranulate.py