MCPcopy Create free account
hub / github.com/cztomczak/cefpython / main

Function main

src/linux/deb_pkg_deprecated/make-deb.py:301–329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299 os.system("fakeroot dpkg-deb -b . ./%s" % deb_archive_name)
300
301def main():
302 # Command line options
303 parser = argparse.ArgumentParser(usage="%(prog)s [options]")
304 parser.add_argument("-v", "--version", help="cefpython version",
305 required=True)
306 args = parser.parse_args()
307 assert re.search(r"^\d+\.\d+$", args.version), (
308 "Invalid version string")
309
310 # Version
311 global VERSION
312 VERSION = args.version
313
314 # Paths
315 global DISTUTILS_SETUP
316 DISTUTILS_SETUP = INSTALLER+"/"+PACKAGE_NAME+"-"+args.version+"-"+\
317 LINUX_BITS+"-setup"
318
319 remove_directories_from_previous_run()
320 create_distutils_setup_package()
321 create_debian_source_package()
322 deb_dist_cleanup()
323 modify_control_file()
324 create_copyright_file()
325 copy_postinst_script()
326 create_debian_binary_package()
327 modify_deb_archive()
328
329 log("DONE")
330
331if __name__ == "__main__":
332 main()

Callers 1

make-deb.pyFile · 0.70

Calls 10

deb_dist_cleanupFunction · 0.85
modify_control_fileFunction · 0.85
create_copyright_fileFunction · 0.85
copy_postinst_scriptFunction · 0.85
modify_deb_archiveFunction · 0.85
logFunction · 0.70

Tested by

no test coverage detected