File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ def do_cythonize(extensions):
343
343
(["cuda/*.pyx" ], None ),
344
344
# internal files used by generated bindings
345
345
(["cuda/bindings/_internal/utils.pyx" ], None ),
346
- * (([f ], None ) for f in dst_files ),
346
+ * (([f ], None ) for f in dst_files if f . endswith ( ".pyx" ) ),
347
347
]
348
348
if sys .platform == "win32" :
349
349
# cuFILE does not support Windows
@@ -352,7 +352,7 @@ def do_cythonize(extensions):
352
352
file_list , _ = source
353
353
if all ("cufile" not in f for f in file_list ):
354
354
new_sources_list .append (source )
355
- assert len (new_sources_list ) == len (sources_list ) - 3
355
+ assert len (new_sources_list ) == len (sources_list ) - 3 , f" { new_sources_list = } , { sources_list = } "
356
356
sources_list = new_sources_list
357
357
358
358
for sources , libraries in sources_list :
You can’t perform that action at this time.
0 commit comments