예제 #1
0
파일: backend.py 프로젝트: bozzzzo/quark
 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)
예제 #2
0
파일: backend.py 프로젝트: bozzzzo/quark
 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)])
예제 #3
0
파일: backend.py 프로젝트: bozzzzo/quark
 def install_command(self, dir):
     command.call_and_show("install", ".", ["npm", "install", dir])
예제 #4
0
파일: backend.py 프로젝트: bozzzzo/quark
 def install_command(self, dir):
     command.call_and_show("install", dir, ["mvn", "install"])