conda-forge / conda-forge/python-feedstock

A slimmer python

未关闭
#581 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
Shell
星标
47
派生
112
平均合并
2 天 9 小时
30 天内合并 PR
18

描述

### Comment:

I'm wondering if there is enough enthusiasm for having a slim python build. My main motivation is to help ensure that downstream packages that depend on python, also declare the dependencies they have on other libraries. The ones that come to mind are:

- [ ] readline
- [ ] sqlite
- [ ] tk

I'm not sure about the implementation, but maybe we can have a behavior similar to pip, where during the build process they aren't pulled in automatically, but for regular users they are? I know that the pip feature is engrained pretty deep into conda, so maybe it isn't that desirable to use it, but the behavior:
- At build time, maintainers might have to specify `python-readline`, `python-sqlite`, `python-tk` as part of their dependencies.
- At environment making time, maybe those are all pulled automatically?

With non-python packages, this has typically resulted in the creation of a "core" package. This would mean that the dependency graph might look like
````
/----- python-readline ----\------------------> readline
/------ python-sqlite -------\-----------------> sqlite
python ------------------------------------ python-core
\-------python-tk------------/-----------------> tk
```
with `tk`, `sqlite` and `readline` being removed as dependencies from `python-core`.

PS. I know this conversation is quite cyclic in nature but I figured it is time to revive it.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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