Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nirbheek Chauhan
cerbero
Commits
e67a2093
Commit
e67a2093
authored
Oct 27, 2018
by
Nirbheek Chauhan
🐜
Browse files
cerbero/config: Ensure that libdir is not 'Lib' on Windows
Lib as libdir interferes with packaging.
parent
58b2062c
Changes
1
Show whitespace changes
Inline
Side-by-side
cerbero/config.py
View file @
e67a2093
...
...
@@ -250,6 +250,11 @@ class Config (object):
pythonpath
=
[
os
.
path
.
join
(
prefix
,
pypath
),
os
.
path
.
join
(
self
.
build_tools_prefix
,
pypath
)]
for
path
in
pythonpath
:
if
self
.
platform
==
Platform
.
WINDOWS
:
# pythonpaths start with 'Lib' on Windows, which is extremely
# undesirable since our libdir is 'lib'. Windows APIs are
# case-preserving case-insensitive.
path
=
path
.
lower
()
self
.
_create_path
(
path
)
pythonpath
=
os
.
pathsep
.
join
(
pythonpath
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment