def install_fn(env, install_dir): env.safe_sudo("cp -r psm-eval/* '%s'" % install_dir) _create_python_virtualenv(env, "psme", "%s/requirements.txt" % install_dir) bin_dir = os.path.join(env.get("system_install"), "bin") env.safe_sudo("mkdir -p '%s'" % bin_dir) env.safe_sudo("ln -s '%s' %s" % (os.path.join( install_dir, "psm_eval"), os.path.join(bin_dir, "psm_eval")))
def install_fn(env, install_dir): env.safe_sudo("mv psm-eval/* '%s'" % install_dir) _create_python_virtualenv(env, "psme", "%s/requirements.txt" % install_dir) bin_dir = os.path.join(env.get("system_install"), "bin") env.safe_sudo("mkdir -p '%s'" % bin_dir) env.safe_sudo("ln -s '%s' %s" % (os.path.join(install_dir, "psm_eval"), os.path.join(bin_dir, "psm_eval")))
def install_fn(env, install_dir): env.safe_sudo("cp -r peptide_to_gff/* '%s'" % install_dir) _create_python_virtualenv(env, "peptide_to_gff", "%s/requirements.txt" % install_dir) bin_dir = os.path.join(env.get("system_install"), "bin") env.safe_sudo("mkdir -p '%s'" % bin_dir) env.safe_sudo("ln -s '%s' '%s'" % (os.path.join(install_dir, "peptide_to_gff"), os.path.join(bin_dir, "peptide_to_gff")))