Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyopencl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
pyopencl
Commits
28a00023
Commit
28a00023
authored
4 years ago
by
Drew Bollinger
Browse files
Options
Downloads
Patches
Plain Diff
copy scripts to lib directory
parent
a36176cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/fix-wheel.py
+4
-2
4 additions, 2 deletions
scripts/fix-wheel.py
with
4 additions
and
2 deletions
scripts/fix-wheel.py
+
4
−
2
View file @
28a00023
import
sys
import
sys
import
os
.path
import
os
import
shutil
import
shutil
from
glob
import
glob
from
glob
import
glob
...
@@ -7,11 +7,13 @@ from delocate import wheeltools
...
@@ -7,11 +7,13 @@ from delocate import wheeltools
def
add_library
(
paths
):
def
add_library
(
paths
):
wheel_fnames
=
glob
(
'
/io/wheelhouse/pyopencl*.whl
'
)
wheel_fnames
=
glob
(
'
/io/wheelhouse/pyopencl*.whl
'
)
libs_dir
=
os
.
path
.
join
(
'
pyopencl
'
,
'
.libs
'
)
os
.
makedirs
(
libs_dir
,
exist_ok
=
True
)
for
fname
in
wheel_fnames
:
for
fname
in
wheel_fnames
:
print
(
'
Processing
'
,
fname
)
print
(
'
Processing
'
,
fname
)
with
wheeltools
.
InWheel
(
fname
,
fname
):
with
wheeltools
.
InWheel
(
fname
,
fname
):
for
lib_path
in
paths
:
for
lib_path
in
paths
:
shutil
.
copy2
(
lib_path
,
os
.
path
.
join
(
'
pyopencl
'
,
'
.libs
'
)
)
shutil
.
copy2
(
lib_path
,
libs_dir
)
def
main
():
def
main
():
args
=
list
(
sys
.
argv
)
args
=
list
(
sys
.
argv
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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