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