Writing custom C extensions

I run the setup.py from https://github.com/pytorch/extension-ffi/tree/master/package. And it came out error.

error in my_package setup command: ‘D:/CV/extension-ffi-master/extension-ffi-master/package\build.py:ffi’ must be of the form ‘path/build.py:ffi_variable’

Even after i modified os.path.join(this_file, “build.py:ffi”) as os.path.join(this_file+"/build.py:ffi_variable"). It came out:

error in my_package setup command: ‘D:/CV/extension-ffi-master/extension-ffi-master/package/build.py:ffi_variable’ must be of the form ‘path/build.py:ffi_variable’

Have somebody can help me? Thanks!

Have you finally solved this problem? If so, how?