python_example icon indicating copy to clipboard operation
python_example copied to clipboard

[Question] Modifying setup.py with pybind used in a submodule

Open HunterStephens opened this issue 4 years ago • 2 comments

If I have a module built with pybind as sub-module how would my already constructed setup.py incorporate this? For example, my package is structured like this.

\--package_home
         setup.py
         \--base_package
                 __init__.py
                 a1.py
                 a2.py
                 \--sub_package
                          __init__.py
                          [pybind .so module would go here]
                          b1.py
                          

HunterStephens avatar Jul 12 '21 19:07 HunterStephens

You'd just use the full dotted path for the submodule name.

henryiii avatar Dec 14 '21 16:12 henryiii