Skip to content

Commit 9600d61

Browse files
committed
clean all cpp files
1 parent 59c9ba7 commit 9600d61

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@
3333

3434
# clean cython output is clean is called
3535
if "clean" in sys.argv[1:]:
36-
if os.path.isfile("ot/lp/emd_wrap.cpp"):
37-
os.remove("ot/lp/emd_wrap.cpp")
36+
for cpp_file in [
37+
"ot/lp/emd_wrap.cpp",
38+
"ot/partial/partial_cython.cpp",
39+
]:
40+
if os.path.isfile(cpp_file):
41+
os.remove(cpp_file)
3842

3943
# add platform dependant optional compilation argument
4044
openmp_supported, flags = check_openmp_support()

0 commit comments

Comments
 (0)