projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b536de6
)
Update pyximport.py
author
xqat
<github@qrc-designer.com>
Mon, 17 Jun 2013 16:13:18 +0000
(19:13 +0300)
committer
xqat
<github@qrc-designer.com>
Mon, 17 Jun 2013 16:13:18 +0000
(19:13 +0300)
this should be changed
pyximport/pyximport.py
patch
|
blob
|
history
diff --git
a/pyximport/pyximport.py
b/pyximport/pyximport.py
index
911aeaf
..
4fd7fe9
100644
(file)
--- a/
pyximport/pyximport.py
+++ b/
pyximport/pyximport.py
@@
-186,7
+186,7
@@
def build_module(name, pyxfilename, pyxbuild_dir=None, inplace=False, language_l
reload_support=pyxargs.reload_support)
assert os.path.exists(so_path), "Cannot find: %s" % so_path
- junkpath = os.path.join(os.path.dirname(so_path), name+"_*") #very dangerous with --inplace ?
+ junkpath = os.path.join(os.path.dirname(so_path), name+"_*") #very dangerous with --inplace ?
yes, indeed, trying to eat my files ;)
junkstuff = glob.glob(junkpath)
for path in junkstuff:
if path!=so_path: