已合并
[bugfix] 修复编译打包脚本 #72
liusa002创建于 22 天前
[bugfix] 修复编译打包脚本 #72
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 liusa002 的贡献)atomgit-bot
22 天前 评论:
22 天前 评论:
变更摘要
本 PR 根据崇理战队对 setup.py 打包脚本提出的两个 issue 建议进行修复,主要聚焦于修复 wheel 包打包时仅包含顶层 mskl 包而不包含子包的问题,以及统一项目 License 声明。改动集中在 setup.py 中:引入 find_packages 动态收集包列表以替代硬编码的 packages = ['mskl'],并将 License 统一为 Mulan PSL v2,同时移除 classifiers 中原有的 MIT License 声明。
主要改动
- 修复子包打包问题: 将
from setuptools import setup扩展为from setuptools import setup, find_packages,引入find_packages用于动态发现包。 - 替换硬编码包列表: 将
packages = ['mskl']改为packages = find_packages(),使 wheel 包不再只包含顶层mskl包,而是包含其全部子包。 - 统一 License 声明: 新增
license = 'Mulan PSL v2'配置,并在classifiers中删除'License :: OSI Approved :: MIT License',将许可证统一为木兰宽松许可证 v2。


不准确?
atomgit-bot
22 天前 评论:
22 天前 评论:
22 天前 添加了label:ascend-cla/yes
ascend-robot
22 天前 评论:
22 天前 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-Ascend/mskl | ✅ wiyr0, h-glue (2/2) | ✅ wiyr0 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
liusa002, thanks for your pull request. All authors of the commits have signed the CLA. 👍


ascend-robot
22 天前 评论:
22 天前 评论:
ascend docs pipeline is running...


此处折叠了146条消息 查看更多
22 天前 添加了label:lgtm
wiyr0
22 天前 评论:
22 天前 评论:
/approve


22 天前 添加了label:approved
22 天前 合入了pull request
1. 修改描述
2. 功能验证
3. 代码检视
4. 资料修改自检