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

Seems there is an object here...

parent 3c360dcb
No related branches found
No related tags found
No related merge requests found
......@@ -37,8 +37,7 @@ class PySpinnfrontendcommon(PythonPackage):
# Work out the python version installed, so we know where to put
# the java code!
python_spec = find("python@3.7:")[0]
python_version_parts = python_spec.version.split('.')
python_version = ".".join(python_version_parts[0:2])
python_version = ".".join(python_spec.version.tuple[0:2])
python_lib = f"python{python_version}"
site_packages = prefix.lib.join(python_lib).site_packages
install_tree("JavaSpiNNaker", site_packages)
......
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