Ejemplo n.º 1
0
    ]),
    (install_path, [
        'LICENSE',
    ]),
]

EXCLUDES = [
    'sword',
]

############################################################
deb_depends = ''
rpm_depends = ''
############################################################

dirs = fsutils.get_dirs_tree('src/sk1/share')
share_dirs = []
for item in dirs:
    share_dirs.append(os.path.join(item[8:], '*.*'))

package_data = {
    'sk1': share_dirs,
}

############################################################
# Main build procedure
############################################################

if len(sys.argv) == 1:
    print 'Please specify build options!'
    print __doc__
Ejemplo n.º 2
0
    ]),
    (install_path, [
        'LICENSE',
    ]),
]

LOCALES_PATH = 'src/cp2/share/locales'

EXCLUDES = []

############################################################
deb_depends = ''
rpm_depends = ''
############################################################

dirs = fsutils.get_dirs_tree('src/cp2/share')
share_dirs = []
for item in dirs:
    share_dirs.append(os.path.join(item[8:], '*.*'))

package_data = {
    'cp2': share_dirs,
}


def build_locales():
    src_path = 'po-cp2'
    dest_path = LOCALES_PATH
    po.build_locales(src_path, dest_path, 'cp2')