mirror of https://github.com/explosion/spaCy.git
* Fix clean function
This commit is contained in:
parent
ae235e07b9
commit
e99f19dd6c
2
setup.py
2
setup.py
|
@ -59,7 +59,7 @@ def clean(mod_names):
|
||||||
c = name + '.c'
|
c = name + '.c'
|
||||||
for file_path in [so, html, cpp, c]:
|
for file_path in [so, html, cpp, c]:
|
||||||
if os.path.exists(file_path):
|
if os.path.exists(file_path):
|
||||||
shutil.move(file_path, '/tmp')
|
os.unlink(file_path)
|
||||||
|
|
||||||
|
|
||||||
def name_to_path(mod_name, ext):
|
def name_to_path(mod_name, ext):
|
||||||
|
|
Loading…
Reference in New Issue