File: __init__.py

package info (click to toggle)
roc-toolkit 0.4.0%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,700 kB
  • sloc: cpp: 102,987; ansic: 8,959; python: 6,125; sh: 942; makefile: 19; javascript: 9
file content (42 lines) | stat: -rw-r--r-- 1,022 bytes parent folder | download | duplicates (2)
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
import scons_plugin.arguments
import scons_plugin.commands
import scons_plugin.config
import scons_plugin.distfiles
import scons_plugin.osutils
import scons_plugin.parallel
import scons_plugin.parsers
import scons_plugin.pretty
import scons_plugin.sconsutils
import scons_plugin.systemdeps
import scons_plugin.tests
import scons_plugin.thirdparty
import scons_plugin.wrapper

# workaround for python3
import SCons.Subst
try:
    SCons.Subst.Literal.__hash__ = lambda self: hash(str(self))
except:
    pass

def generate(env):
    modules = [
        scons_plugin.arguments,
        scons_plugin.commands,
        scons_plugin.config,
        scons_plugin.distfiles,
        scons_plugin.osutils,
        scons_plugin.parallel,
        scons_plugin.parsers,
        scons_plugin.pretty,
        scons_plugin.sconsutils,
        scons_plugin.systemdeps,
        scons_plugin.tests,
        scons_plugin.thirdparty,
        scons_plugin.wrapper,
    ]
    for m in modules:
        m.init(env)

def exists(env):
    return 1