-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add options for Python with Precompiled stdlib and debug binaries #86
Comments
This adds the installer option to include the debug binaries (i.e. `python_d.exe`) on Windows. Fixes actions/setup-python#86
I suggest everyone who has a choice try this workaround (from https://bugs.python.org/issue23393) because a debug build on Windows requires that all of your modules containing native code be built in debug mode too. |
xref capi-workgroup/problems#36 where interest was expressed by the CPython core developer team around making it easier to test c-extensions against debug versions of python, which would enable things like assert checks, and checks for improper use of the C-API. |
I think this would require:
|
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/runner-images#786
cc: #85
cc: actions/python-versions#16
The text was updated successfully, but these errors were encountered: