actions / actions/setup-python

Add options for Python with Precompiled stdlib and debug binaries

未关闭
#86 4 条评论 20 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature request
主要语言
TypeScript
星标
2.2k
派生
739
平均合并
6 天 18 小时
30 天内合并 PR
1

描述

I wonder if it would be viable to give a parameter for advanced usages in this action. For example I need this exact setup as in the title.

LINK : fatal error LNK1104: cannot open file 'python38_d.lib'
We need a Python interpreter that is shipped with libpython and header files.

Since ever I need to download the Python setup and deinstall with it the same version from the CI just to install with the following command:

setup.exe /quiet Include_debug=1 Include_dev=1 Include_lib=1 Include_pip=1 PrependPath=1 CompileAll=1 InstallAllUsers=1 TargetDir=<workspace-dir>\Python38-x64-dbg\

Would be really cool to see such options here as well, so I (we?) can easily setup the Python installation for a build matrix for example.

cc: actions/virtual-environments#786
cc: actions/setup-python#85
cc: actions/python-versions#16

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先检查 action 现有的 Python 设置行为以及链接的 setup-python 上下文。定义参数如何提供预编译标准库、调试、开发、库、pip 和安装选项。当请求的 Python 安装可以为构建矩阵进行配置,而无需手动运行 Windows 安装程序时,即视为完成。

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

评估

技术栈
python, typescript
领域
ci-cd
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

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