Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sift
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SIFT
sift
Commits
0ab0ef97
Commit
0ab0ef97
authored
4 years ago
by
R.K.Garcia
Browse files
Options
Downloads
Patches
Plain Diff
Retain forward slash before Libary in prefix
Revised for #308 after 1.1.5 found unviable for win32
parent
424c54b6
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
build_conda_pack.py
+1
-1
1 addition, 1 deletion
build_conda_pack.py
with
1 addition
and
1 deletion
build_conda_pack.py
+
1
−
1
View file @
0ab0ef97
...
...
@@ -70,7 +70,7 @@ def main():
if
sys
.
platform
.
startswith
(
'
win
'
):
with
open
(
os
.
path
.
join
(
sys
.
prefix
,
'
qt.conf
'
),
'
rt
'
)
as
qtconf
:
old_text
=
qtconf
.
read
()
old_prefix
,
=
tuple
(
re
.
findall
(
r
'
^Prefix\s*=\s*(.*?)\s*$
'
,
old_text
,
re
.
MULTILINE
))
old_prefix
,
=
tuple
(
re
.
findall
(
r
'
^Prefix\s*=\s*(.*?)
.Library
\s*$
'
,
old_text
,
re
.
MULTILINE
))
new_prefix
=
old_prefix
.
replace
(
'
/
'
,
'
\\
'
)
new_text
=
old_text
.
replace
(
old_prefix
,
new_prefix
)
with
open
(
os
.
path
.
join
(
sys
.
prefix
,
'
qt.conf
'
),
'
wt
'
)
as
qtconf
:
...
...
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