Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install bbricks

How to install bbricks

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install bbricks
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.61
1.0.18Never BuiltWhy not?
0.61 Available View build log
0.58 Available View build log
0.56 Available View build log
0.55 Available View build log
0.55
1.0.18Never BuiltWhy not?
0.55 Available View build log
Windows (64-bit)
0.55
1.0.18Never BuiltWhy not?
0.55 Available View build log
0.55
1.0.18Never BuiltWhy not?
0.55 Available View build log
Mac OS X (10.5+)
0.61
1.0.18Never BuiltWhy not?
0.61 Available View build log
0.58 Available View build log
0.56 Available View build log
0.55 Available View build log
1.0.4
1.0.18Never BuiltWhy not?
1.0.14 Failed View build log
1.0.7 Failed View build log
1.0.5 Failed View build log
1.0.4 Available View build log
0.61 Available View build log
0.59 Failed View build log
0.58 Available View build log
0.56 Available View build log
0.55 Available View build log
Linux (32-bit)
1.0.14
1.0.18Never BuiltWhy not?
1.0.14 Available View build log
1.0.7 Available View build log
1.0.5 Available View build log
1.0.4 Available View build log
0.61 Available View build log
0.59 Available View build log
0.58 Available View build log
0.56 Available View build log
0.55 Available View build log
1.0.4
1.0.18Never BuiltWhy not?
1.0.14 Failed View build log
1.0.7 Failed View build log
1.0.5 Failed View build log
1.0.4 Available View build log
0.61 Available View build log
0.59 Failed View build log
0.58 Available View build log
0.56 Available View build log
0.55 Available View build log
Linux (64-bit)
1.0.18 Available View build log
1.0.14 Available View build log
1.0.7 Available View build log
1.0.5 Available View build log
1.0.4 Available View build log
0.61 Available View build log
0.59 Available View build log
0.58 Available View build log
0.56 Available View build log
0.55 Available View build log
1.0.4
1.0.18Never BuiltWhy not?
1.0.14 Failed View build log
1.0.7 Failed View build log
1.0.5 Failed View build log
1.0.4 Available View build log
0.61 Available View build log
0.59 Failed View build log
0.58 Available View build log
0.56 Available View build log
0.55 Available View build log
1.0.18 Available View build log
 
Imports
Lastest release
version 1.0.18 on Sep 20th, 2013

INTRO

Automatically enforce strict compiler options, cpplint, memory checks, and other code quality procedures and practices on C/C++ projects, while keeping keeping high level build configurations (based on SCons).

NOTE: Tested on Mac OS only for now.

This version requires Python 3 or later.

MACROS

# COMMON OPTIONS
BASIC_OPTIONS = {
'CCFLAGS':['-Wall','-Wfatal-errors']

System Message: WARNING/2 (<string>, line 19)

Definition list ends without a blank line; unexpected unindent.

}

STRICT_OPTIONS = {
'CCFLAGS':['-Werror']

System Message: WARNING/2 (<string>, line 23)

Definition list ends without a blank line; unexpected unindent.

}

# NACL CONFIGS

PNACL_TC_BIN_DIR = '/opt/nacl_sdk/pepper_24/toolchain/*_x86_pnacl/newlib/bin/'

System Message: WARNING/2 (<string>, line 29); backlink

Inline emphasis start-string without end-string.
PNACL_NEWLIB_TOOLCHAIN = {
'CC':PNACL_TC_BIN_DIR + 'pnacl-clang', 'CXX':PNACL_TC_BIN_DIR + 'pnacl-clang++', 'AR':PNACL_TC_BIN_DIR + 'pnacl-ar', 'LINK':PNACL_TC_BIN_DIR + 'pnacl-clang++', 'LD':PNACL_TC_BIN_DIR + 'pnacl-ld', 'RANLIB':PNACL_TC_BIN_DIR + 'pnacl-ranlib', 'TRANSLATE':PNACL_TC_BIN_DIR + 'pnacl-translate', 'STRIP':PNACL_TC_BIN_DIR + 'pnacl-strip'

System Message: WARNING/2 (<string>, line 40)

Definition list ends without a blank line; unexpected unindent.

}

NACL32_NEWLIB_TOOLCHAIN = {

'CC':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/i686-nacl-gcc', 'CXX':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/i686-nacl-g++', 'AR':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/i686-nacl-ar', 'LINK':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/i686-nacl-g++', 'LD':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/i686-nacl-ld', 'RANLIB':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/i686-nacl-ranlib',

System Message: WARNING/2 (<string>, line 43); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 43); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 43); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 43); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 43); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 43); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 49)

Definition list ends without a blank line; unexpected unindent.

}

NACL64_NEWLIB_TOOLCHAIN = {

'CC':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/x86_64-nacl-gcc', 'CXX':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/x86_64-nacl-g++', 'AR':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/x86_64-nacl-ar', 'LINK':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/x86_64-nacl-g++', 'LD':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/x86_64-nacl-ld', 'RANLIB':'/opt/nacl_sdk/pepper_21/toolchain/*_x86_newlib/bin/x86_64-nacl-ranlib',

System Message: WARNING/2 (<string>, line 52); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 52); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 52); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 52); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 52); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 52); backlink

Inline emphasis start-string without end-string.

System Message: WARNING/2 (<string>, line 58)

Definition list ends without a blank line; unexpected unindent.

}

PNACL_OPTIONS = {
'CPPDEFINES':'NACL'

System Message: WARNING/2 (<string>, line 62)

Definition list ends without a blank line; unexpected unindent.

}

PNACL_RELEASE_OPTIONS = {
'CCFLAGS':'-O2'

System Message: WARNING/2 (<string>, line 66)

Definition list ends without a blank line; unexpected unindent.

}

PNACL_DEBUG_OPTIONS = {
'CCFLAGS':'-g'

System Message: WARNING/2 (<string>, line 70)

Definition list ends without a blank line; unexpected unindent.

}

PNACL_STATIC_LIB_OPTIONS = {
'CCFLAGS':['-fdata-sections','-ffunction-sections'],

System Message: WARNING/2 (<string>, line 74)

Definition list ends without a blank line; unexpected unindent.

}

PNACL_STATIC_PEXE_OPTIONS = {
'CCFLAGS':['-std=gnu++98',
'-pthread', '-D_GNU_SOURCE=1', '-D__STDC_FORMAT_MACROS=1', '-D_BSD_SOURCE=1', '-D_POSIX_C_SOURCE=199506', '-D_XOPEN_SOURCE=600', '-fno-stack-protector', '-fomit-frame-pointer', '-static', '-DNACL'],
'LIBS':['ppapi_cpp',
'ppapi' ]

System Message: WARNING/2 (<string>, line 91)

Definition list ends without a blank line; unexpected unindent.

}

NACL_STATIC_NEXE_OPTIONS = {
'CCFLAGS':['-std=gnu++98',
'-pthread', '-D_GNU_SOURCE=1', '-D__STDC_FORMAT_MACROS=1', '-D_BSD_SOURCE=1', '-D_POSIX_C_SOURCE=199506', '-D_XOPEN_SOURCE=600', '-fno-stack-protector', '-fomit-frame-pointer', '-static', '-DNACL'],

System Message: WARNING/2 (<string>, line 105)

Definition list ends without a blank line; unexpected unindent.

'LINKFLAGS' : ['--gc-sections'], 'LIBS':['ppapi_cpp',

System Message: ERROR/3 (<string>, line 107)

Unexpected indentation.
'ppapi' ]

System Message: WARNING/2 (<string>, line 109)

Definition list ends without a blank line; unexpected unindent.

}

NACL_OPTIONS = {
'CPPDEFINES':'NACL'

System Message: WARNING/2 (<string>, line 113)

Definition list ends without a blank line; unexpected unindent.

}

NACL_RELEASE_OPTIONS = {
'CCFLAGS':'-O2'

System Message: WARNING/2 (<string>, line 117)

Definition list ends without a blank line; unexpected unindent.

}

NACL_DEBUG_OPTIONS = {
'CCFLAGS':['-g','-O0']

System Message: WARNING/2 (<string>, line 121)

Definition list ends without a blank line; unexpected unindent.

}

NACL_STATIC_LIB_OPTIONS = {
'CCFLAGS':['-fdata-sections','-ffunction-sections'], 'LINKFLAGS':['--gc-sections']

System Message: WARNING/2 (<string>, line 126)

Definition list ends without a blank line; unexpected unindent.

}

# GCC CONFIG
GCC_TOOLCHAIN = {
'CC':'gcc', 'CXX':'g++', 'AR':'ar', 'LINK':'g++', 'LD':'ld', 'RANLIB':'ranlib'

System Message: WARNING/2 (<string>, line 140)

Definition list ends without a blank line; unexpected unindent.

}

GCC32_OPTIONS = {
'CCFLAGS' : ['-m32', '-march=i386'], 'LINKFLAGS' : ['-m32', '-march=i386']

System Message: WARNING/2 (<string>, line 145)

Definition list ends without a blank line; unexpected unindent.

}

GCC64_OPTIONS = {
'CCFLAGS' : ['-m64', '-march=core2'], 'LINKFLAGS' : ['-m64', '-march=core2']

System Message: WARNING/2 (<string>, line 150)

Definition list ends without a blank line; unexpected unindent.

}

GCC_DEBUG_OPTIONS = {
'CCFLAGS':['-g','-O0']

System Message: WARNING/2 (<string>, line 154)

Definition list ends without a blank line; unexpected unindent.

}

# IOS CONFIG
IOS_5_1_DEVICE_STATIC_LIB_OPTIONS = {
'CCFLAGS' : ['-arch', 'armv7',
'-mthumb', '-miphoneos-version-min=5.1', '-Wno-overloaded-virtual', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk', '-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/lib/gcc/arm-apple-darwin10/4.2.1/include', '-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1', '-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include' ]

System Message: WARNING/2 (<string>, line 171)

Definition list ends without a blank line; unexpected unindent.

}

IOS_5_1_SIMULATOR_STATIC_LIB_OPTIONS = {
'CCFLAGS' : ['-arch', 'i386',
'-miphoneos-version-min=5.1', '-Wno-overloaded-virtual', '-isysroot','/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk', '-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include', '-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/usr/include/c++/4.2.1', '-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/usr/include' ]

System Message: WARNING/2 (<string>, line 182)

Definition list ends without a blank line; unexpected unindent.

}

# CLANG CONFIG
CLANG_TOOLCHAIN = {
'CC':'clang', 'CXX':'clang++',

System Message: WARNING/2 (<string>, line 192)

Definition list ends without a blank line; unexpected unindent.

}

CLANG32_OPTIONS = {
'CCFLAGS' : ['-m32', '-march=i386'], 'LINKFLAGS' : ['-m32', '-march=i386']

System Message: WARNING/2 (<string>, line 197)

Definition list ends without a blank line; unexpected unindent.

}

CLANG64_OPTIONS = {
'CCFLAGS' : ['-m64'], 'LINKFLAGS' : ['-m64']

System Message: WARNING/2 (<string>, line 202)

Definition list ends without a blank line; unexpected unindent.

}

CLANG_STATIC_LIB_OPTIONS = {
'CCFLAGS':['-fdata-sections','-ffunction-sections'], 'LINKFLAGS':['--gc-sections']

System Message: WARNING/2 (<string>, line 207)

Definition list ends without a blank line; unexpected unindent.

}

CLANG_CODE_COVERAGE_OPTIONS = {

Subscribe to package updates

Last updated Sep 20th, 2013

Download Stats

Last month:4

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.