Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
d35a9f8c
Commit
d35a9f8c
authored
Jun 11, 2018
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warn when absolute paths are used with build_dir.
This closes #2323.
parent
850511bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+2
-1
No files found.
Cython/Build/Dependencies.py
View file @
d35a9f8c
...
@@ -964,7 +964,8 @@ def cythonize(module_list, exclude=None, nthreads=0, aliases=None, quiet=False,
...
@@ -964,7 +964,8 @@ def cythonize(module_list, exclude=None, nthreads=0, aliases=None, quiet=False,
# setup for out of place build directory if enabled
# setup for out of place build directory if enabled
if
build_dir
:
if
build_dir
:
c_file
=
os
.
path
.
join
(
build_dir
,
c_file
)
if
os
.
path
.
isabs
(
c_file
):
warnings
.
warn
(
"build_dir has no effect for absolute source paths"
)
dir
=
os
.
path
.
dirname
(
c_file
)
dir
=
os
.
path
.
dirname
(
c_file
)
safe_makedirs_once
(
dir
)
safe_makedirs_once
(
dir
)
...
...
Write
Preview
Markdown
is supported
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