############################################################ # # Build data # ############################################################ src_path = 'src' scripts = ['lincutter', ] data_files = [ ('/usr/share/applications', ['src/lincutter.desktop', ]), ('/usr/share/pixmaps/', ['src/lincutter.png', 'src/lincutter.xpm', ]), ] deb_depends = 'python (>=2.4), python (<<3.0), python-gtk2, python-gnome2, ' deb_depends += 'python-uniconvertor (>=2.0)' package_data = { 'lincutter':libutils.get_resources('src/lincutter', 'src/lincutter/share'), } ############################################################ # # Main build procedure # ############################################################ if len(sys.argv) == 1: print 'Please specify build options!' print __doc__ sys.exit(0) if len(sys.argv) > 1 and sys.argv[1] == 'build_update': sys.exit(0)
# ############################################################ src_path = 'src' scripts = [ 'src/script/sk1', ] data_files = [ ('/usr/share/applications', [ 'src/sk1.desktop', ]), ('/usr/share/pixmaps/', ['src/sk1.png', 'src/sk1.xpm']), ] deb_depends = 'python (>=2.4), python (<<3.0), python-gtk2, python-gnome2, ' deb_depends += 'python-uniconvertor (>=2.0)' package_data = { 'sk1': libutils.get_resources('src/sk1', 'src/sk1/share'), } ############################################################ # # Main build procedure # ############################################################ if len(sys.argv) == 1: print 'Please specify build options!' print __doc__ sys.exit(0) if len(sys.argv) > 1 and sys.argv[1] == 'build_update': sys.exit(0)
# ############################################################ src_path = 'src' pkg_path = os.path.join(src_path, 'uniconvertor') include_path = '/usr/include' modules = [] scripts = ['src/script/uniconvertor', ] deb_scripts = ['debian/postinst', 'debian/postrm'] data_files = [] deb_depends = 'libfreetype6, python (>=2.4), python (<<3.0), python-imaging' deb_depends += ', python-reportlab' if os.path.isfile(os.path.join(include_path, 'lcms2.h')): LCMS2 = True package_data = { 'uniconvertor':libutils.get_resources(pkg_path, pkg_path + '/share'), 'uniconvertor.cms': ['profiles/*.*'], 'uniconvertor.ft2engine': ['fallback_fonts/*.*'], 'uniconvertor.app': ['VERSION', ], 'uniconvertor.app.modules': ['descr.txt', ], 'uniconvertor.filters': ['import/*.py', 'export/*.py', 'parsing/*.py', 'preview/*.py'], } ############################################################ # # Main build procedure # ############################################################ if len(sys.argv) == 1:
scripts = [ 'lincutter', ] data_files = [ ('/usr/share/applications', [ 'src/lincutter.desktop', ]), ('/usr/share/pixmaps/', [ 'src/lincutter.png', 'src/lincutter.xpm', ]), ] deb_depends = 'python (>=2.4), python (<<3.0), python-gtk2, python-gnome2, ' deb_depends += 'python-uniconvertor (>=2.0)' package_data = { 'lincutter': libutils.get_resources('src/lincutter', 'src/lincutter/share'), } ############################################################ # # Main build procedure # ############################################################ if len(sys.argv) == 1: print 'Please specify build options!' print __doc__ sys.exit(0) if len(sys.argv) > 1 and sys.argv[1] == 'build_update': sys.exit(0)
pkg_path = os.path.join(src_path, 'uniconvertor') include_path = '/usr/include' modules = [] scripts = [ 'src/script/uniconvertor', ] deb_scripts = ['debian/postinst', 'debian/postrm'] data_files = [] deb_depends = 'libfreetype6, python (>=2.4), python (<<3.0), python-imaging' deb_depends += ', python-reportlab' if os.path.isfile(os.path.join(include_path, 'lcms2.h')): LCMS2 = True package_data = { 'uniconvertor': libutils.get_resources(pkg_path, pkg_path + '/share'), 'uniconvertor.cms': ['profiles/*.*'], 'uniconvertor.ft2engine': ['fallback_fonts/*.*'], 'uniconvertor.app': [ 'VERSION', ], 'uniconvertor.app.modules': [ 'descr.txt', ], 'uniconvertor.filters': ['import/*.py', 'export/*.py', 'parsing/*.py', 'preview/*.py'], } ############################################################ # # Main build procedure
############################################################ # # Build data # ############################################################ src_path = 'src' scripts = ['src/script/sk1', ] data_files = [ ('/usr/share/applications', ['src/sk1.desktop', ]), ('/usr/share/pixmaps/', ['src/sk1.png', 'src/sk1.xpm' ]), ] deb_depends = 'python (>=2.4), python (<<3.0), python-gtk2, python-gnome2, ' deb_depends += 'python-uniconvertor (>=2.0)' package_data = { 'sk1':libutils.get_resources('src/sk1', 'src/sk1/share'), } ############################################################ # # Main build procedure # ############################################################ if len(sys.argv) == 1: print 'Please specify build options!' print __doc__ sys.exit(0) if len(sys.argv) > 1 and sys.argv[1] == 'build_update': sys.exit(0)