Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Klaus Noelp
ebrains-spack-builds
Commits
75e7d9f2
Commit
75e7d9f2
authored
1 year ago
by
Andrew Rowley
Browse files
Options
Downloads
Patches
Plain Diff
This is where it actually needs to go!
parent
7680d966
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/py-spinnfrontendcommon/package.py
+2
-9
2 additions, 9 deletions
packages/py-spinnfrontendcommon/package.py
with
2 additions
and
9 deletions
packages/py-spinnfrontendcommon/package.py
+
2
−
9
View file @
75e7d9f2
...
...
@@ -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
))
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment