def unpack(self): rmdir(self.pkgroot) mkdir(self.pkgroot) unpack_file(self._pkg.path, self.pkgroot) udir = os.path.join(self.pkgroot, self._dirname) for stg in self.staged: stg.basedir = udir
def unpack(self): pypi = PyPIMetadata(self.__PKGNAME) self.setversion(pypi.version) rmdir(self.pkgroot) mkdir(self.pkgroot) pipinstall('%s==%s' % (self.__PKGNAME, pypi.version), self.pkgroot)
def clean(self, real=False): """Clean up the package.""" self._setup() rmdir(self.pkgroot) for stg in self.staged: stg.clean() if real: rmdir(os.path.join(Globals.downloadroot, self.name))
def unpack(self): rmdir(self.pkgroot) mkdir(self.pkgroot) copy(self._hib3.path, os.path.join(self.pkgroot, 'nuodb-hibernate-hib3.jar')) copy(self._hib5.path, os.path.join(self.pkgroot, 'nuodb-hibernate-hib5.jar')) savefile(os.path.join(self.pkgroot, 'LICENSE.txt'), self.getlicense('3BSD'))
def _clone(self): # Don't keep around any half-completed repos rmdir(self.path) mkdir(os.path.dirname(self.path)) run([self._git, 'clone', '--recursive', self.url, self.path])
def clean(self): rmfile(self.stagefile) rmdir(self.stagedir)
def unpack(self): rmdir(self.pkgroot) mkdir(self.pkgroot) copy(self._jar.path, self.pkgroot) savefile(os.path.join(self.pkgroot, 'LICENSE.txt'), self.getlicense('3BSD'))
def unpack(self): rmdir(self.pkgroot) mkdir(self.pkgroot) unpack_file(self._zip.path, self.pkgroot)