pybind / pybind/python_example
[Question] Modifying setup.py with pybind used in a submodule
未關閉
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 530
- 分支
- 150
- 平均合併
- 8 天 2 小時
- 30 天內合併 PR
- 1
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先閱讀 setup.py 以及 issue 中描述的套件結構,特別是 base_package/sub_package 和預期的 pybind 共用物件位置。確定現有的 Python 型建置應如何整合該子模組,並記錄此結構所產生的設定。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- build-system
- Issue 類型
- 文件
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100