Beispiel #1
0
 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)
Beispiel #2
0
 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)])
Beispiel #3
0
 def install_command(self, dir):
     command.call_and_show("install", ".", ["npm", "install", dir])
Beispiel #4
0
 def install_command(self, dir):
     command.call_and_show("install", dir, ["mvn", "install"])