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

Function deb_dist_cleanup

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

Source from the content-addressed store, hash-verified

205 f.write("\nDepends: %s" % deps)
206
207def deb_dist_cleanup():
208 # Move the deb_dist/ directory and remove unnecessary files
209 log("Preparing the deb_dist directory")
210 os.system("mv %s %s"\
211 % (DISTUTILS_SETUP+"/deb_dist", INSTALLER+"/deb_dist"))
212 os.system("rm -rf %s" % DISTUTILS_SETUP)
213 # Paths
214 global DEB_DIST, DEB_DIST_PACKAGE, DEBIAN, DEBIAN_PACKAGE
215 DEB_DIST = INSTALLER+"/deb_dist"
216 DEB_DIST_PACKAGE = DEB_DIST+"/"+PACKAGE_NAME+"-"+VERSION
217 DEBIAN = DEB_DIST_PACKAGE+"/debian"
218 DEBIAN_PACKAGE = DEBIAN+"/python-"+PACKAGE_NAME
219 # Remove unnecessary files
220 os.chdir(DEB_DIST)
221 os.system("rm *.gz")
222 os.system("rm *.dsc")
223
224def create_debian_binary_package():
225 os.chdir(DEB_DIST_PACKAGE)

Callers 1

mainFunction · 0.85

Calls 1

logFunction · 0.70

Tested by

no test coverage detected