Module package
[hide private]
[frames] | no frames]

Module package

source code

Functions [hide private]
 
sanitycheck()
Check all dependencies are present and at the correct version
source code
dict
resources()
Get a list of the resources (images, executables, sounds etc) we ship
source code
 
isofficialbuild()
Work out if this is an official build
source code
 
ensureofficial()
If this is not an official build then ensure that version.vendor doesn't say it is
source code
 
getversion() source code
 
setversion(versionstring, vendorstring='Test') source code
 
getallencodingsmodules() source code
 
getcxfreezeoptions(defaults) source code
 
getpy2appoptions(defaults) source code
 
getpy2exeoptions(defaults) source code
 
generate_udevrules()
Generate the udev rules file based on all the known VIDs and PIDs
source code
 
copyresources(destdir) source code
 
resourcefilter(srcfilename, destfilename) source code
 
build_dependences() source code
 
finalize(destdir) source code
 
getvals()
Return various values about this product
source code
Variables [hide private]
  lazyimportmodules = ['email.iterators']
  udevrules_filename = '60-bitpim.rules'
  udevrules_line = 'ACTION=="add", SYSFS{idProduct}=="%04x", SYS...
Function Details [hide private]

resources()

source code 

Get a list of the resources (images, executables, sounds etc) we ship

Returns: dict
The key for each entry in the dict is a directory name, and the value is a list of files within that directory

Variables Details [hide private]

udevrules_line

Value:
'ACTION=="add", SYSFS{idProduct}=="%04x", SYSFS{idVendor}=="%04x", RUN\
+="/usr/bin/bpudev $env{DEVNAME} $number $sysfs{devnum}"'