Notice: If you are member of any public project or group, please make sure that your GitLab username is not the same as the LRZ identifier/Kennung (see https://gitlab.lrz.de/profile/account). Please change your username if necessary. For more information see the section "Public projects / Öffentliche Projekte" at https://doku.lrz.de/display/PUBLIC/GitLab . Thank you!

Commit fb5c0ded authored by hm-schuhba1's avatar hm-schuhba1

chanage VadereAnalysisTool instal script to work from base path

parent 064ff776
Pipeline #76141 failed with stages
in 2 minutes and 52 seconds
......@@ -32,13 +32,12 @@ def install_package_if_needed(package_name='VadereAnalysisTool', search_path='To
dist_dir = os.path.join(search_path, "dist")
wheel_files = [f for f in os.listdir(dist_dir) if f.endswith(".whl")]
if len(wheel_files) > 0:
dist_path = os.path.join("dist", wheel_files[0])
dist_path = os.path.join(search_path, "dist", wheel_files[0])
user = getpass.getuser()
print("\nInstall package {} locally for user {} ...".format(dist_path, user))
p_install_package = subprocess.run(
args=["python3", "-m", "pip", "install", "--user", dist_path],
cwd=make_package_cwd,
timeout=10,
check=True,
stdout=subprocess.PIPE,
......
......@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="VadereAnalysisTool",
version="0.0.5",
version="0.0.7",
author="Stefan Schuhbäck",
author_email="stefan.schuhbaeck@hm.edu",
description="Import VadereProject to ease analysis",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment