actions / actions/setup-python

Add options for Python with Precompiled stdlib and debug binaries

Open
#86 4 comments 20 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
TypeScript
Stars
2.2k
Forks
739
Avg merge
6d 18h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the action's existing Python setup behavior and the linked setup-python context. Define how parameters would expose precompiled standard-library, debug, development, library, pip, and installation options. Done means the requested Python installation can be configured for a build matrix without manually running the Windows installer.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.