We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b759c commit d8f57acCopy full SHA for d8f57ac
setup.py
@@ -274,7 +274,8 @@ def glob_cfiles(path, excludes):
274
raise BuildError("User Modules are only allowed one Cython .pyx file")
275
276
filename_string = user_sources[0].split('/')[-1][:-4]
277
- if filename_string is not module_name:
+ if filename_string != module_name:
278
+ print(filename_string, module_name)
279
raise BuildError("The Cython source file in {} must match the folder name - i.e. it must be {}.pyx".format(module_name, module_name))
280
cfilename = filename_string + '.c'
281
print(cfilename)
0 commit comments