def install_command(self, dir): command.call_and_show("install", dir, ["python", "setup.py", "-q", "bdist_wheel"]) wheels = [name for name in os.listdir(os.path.join(dir, "dist")) if name.endswith(".whl")] for wheel in wheels: cmd = ["pip", "install", "--upgrade", "dist/%s" % wheel] if is_user(): cmd += ["--user"] command.call_and_show("install", dir, cmd)
def install_command(self, dir): name, ver = namever(self.entry) command.call_and_show("install", dir, ["gem", "build", "-q", "%s.gemspec" % name]) command.call_and_show("install", ".", ["gem", "install", "%s/%s-%s.gem" % (dir, name, ver)])
def install_command(self, dir): command.call_and_show("install", ".", ["npm", "install", dir])
def install_command(self, dir): command.call_and_show("install", dir, ["mvn", "install"])