Difficulties Using Setuptools To Compile Extension Module
I am developing a package (module?) designed to be pip-installed. The package contains a C++ extension, wrapped using pybind11, which links to some other libraries. I am able to c
Solution 1:
Extension('my_extension', …)
creates a top-level extension that you can import with
import my_extension
To make it a submodule of your package prepend the name of the package:
Extension('my_package.my_extension', …)
Post a Comment for "Difficulties Using Setuptools To Compile Extension Module"