forked from achaiah/GulpIO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.py
49 lines (44 loc) · 1.91 KB
/
build.py
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
from pybuilder.core import use_plugin, init, Author
from pybuilder.vcs import count_travis
import os
use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.install_dependencies")
use_plugin("python.flake8")
use_plugin("python.coverage")
use_plugin("python.distutils")
use_plugin("filter_resources")
use_plugin('python.integrationtest')
name = "gulpio"
default_task = ["install_dependencies", "analyze", "publish"]
version = count_travis()
summary = "Binary storage format for deep learning on videos."
authors = [Author("Eren Golge", "[email protected]"),
Author("Raghav Goyal", "[email protected]"),
Author("Susanne Westphal", "[email protected]"),
Author("Heuna Kim", "[email protected]"),
Author("Guillaume Berger", "[email protected]"),
Author("Joanna Materzyńska", "[email protected]"),
Author("Florian Letsch", "[email protected]"),
Author("Valentin Haenel", "[email protected]"),
]
requires_python = ">=3.4"
@init
def set_properties(project):
project.depends_on('jinja2')
project.depends_on('tqdm')
project.depends_on('opencv-python')
project.depends_on('docopt')
project.depends_on('Pillow')
project.depends_on('sh')
project.get_property('filter_resources_glob').extend(
['**/gulpio/__init__.py'])
project.get_property('coverage_exceptions').extend(
['gulpio.adapters'])
project.set_property('integrationtest_inherit_environment', True)
project.set_property('integrationtest_additional_environment',
{'PATH': 'src/main/scripts:' + os.environ['PATH']})
project.set_property('flake8_include_scripts', True)
project.set_property('flake8_include_test_sources', True)
project.set_property('flake8_break_build', True)
project.include_file("gulpio", "template.jinja")