ApeWorX / ApeWorX/hexbytes

2.0.0: Don't install docs nor newsfragments

未关闭 适合新手
#69 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
30
派生
22
平均合并
2 分钟
30 天内合并 PR
1

描述

### Operating System

macOS (Apple Silicon)

### Version Information

3.14

### Environment

```Text
PkgSrc
```

### Reproduction code

```Python
Install version 2.0.0 and observe "docs" and "newsfragments" in `site-packages`.
```

### Additional Context

A patch to fix the issue:

```
--- pyproject.toml.orig 2026-09-08 11:18:56.117968613 +0000
+++ pyproject.toml
@@ -65,7 +65,7 @@ dev = [
]

[tool.setuptools.packages.find]
-exclude = ["scripts", "scripts.*", "tests", "tests.*"]
+exclude = ["docs", "docs*", "newsfragments", "newsfragments*", "scripts", "scripts.*", "tests", "tests.*"]

[tool.setuptools.package-data]
hexbytes = ["py.typed"]
```

贡献指南

打开贡献指南

调研方向

Start in pyproject.toml at [tool.setuptools.packages.find] and review the package exclusions shown in the issue. Build or install version 2.0.0 in the reported environment, then inspect site-packages to verify that docs and newsfragments are absent while the package still installs correctly.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
活跃
描述清晰度
描述清楚
新手友好度
88/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。