Skip to content
Snippets Groups Projects
Commit 75e7d9f2 authored by Andrew Rowley's avatar Andrew Rowley
Browse files

This is where it actually needs to go!

parent 7680d966
No related branches found
No related tags found
No related merge requests found
......@@ -39,16 +39,9 @@ class PySpinnfrontendcommon(PythonPackage):
# the java code!
python_spec = find("python@3.7:")[0]
python_version = ".".join(str(v) for v in python_spec.version.version[0:2])
python_lib = f"python{python_version}"
site_packages = prefix.lib.join(python_lib).join("site-packages")
java_folder = site_packages.JavaSpiNNaker.join("SpiNNaker-front-end").target
python_lib = prefix.lib.join(f"python{python_version}")
java_folder = python_lib.JavaSpiNNaker.join("SpiNNaker-front-end").target
java_exe = java_folder.join("spinnaker-exe.jar")
makedirs(java_folder)
urlretrieve(_JAR_URL, java_exe)
tty.debug(f"Received {java_exe} from {_JAR_URL}")
# Test where things are now installed
tty.debug(f"Checking contents of {prefix}")
for root, dirnames, filenames in os.walk(prefix):
for filename in filenames:
tty.debug(os.path.join(root, filename))
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