Skip to content
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

[python3] missing python_d.exe #33724

Open
bansan85 opened this issue Sep 12, 2023 · 4 comments
Open

[python3] missing python_d.exe #33724

bansan85 opened this issue Sep 12, 2023 · 4 comments
Assignees
Labels
category:question This issue is a question

Comments

@bansan85
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Can't find python_d.exe despite the debug installation. Tested with python3.10 (6da00e1) and with master (3.11 4a600e9).

Proposed solution

Install a python3d (with debug) in tools folder. I needed to remove line vcpkg_clean_msbuild() for python 3.10 portfile.cmake.

Find enclosed a bash script that create the python3d folder based on the content of python3 folder.

It may be created the same way that the tool python3 (release) in the portfile.cmake.

python3d_creation.sh.txt

Describe alternatives you've considered

No response

Additional context

No response

@bansan85 bansan85 added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Sep 12, 2023
@Osyotr
Copy link
Contributor

Osyotr commented Sep 12, 2023

Sadly there's no consensus about where debug version of tools should be located (#17607).
For python3, I would prefer tools/python3_d. That way it won't conflict with tools/python3 but will still be searchable using find_program.

Maybe even this would work:

set(Python_FIND_ABI "ON" "ANY" "ANY")
find_package(Python3 REQUIRED COMPONENTS Interpreter)

@MonicaLiu0311 MonicaLiu0311 added category:question This issue is a question and removed category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist labels Sep 13, 2023
@github-actions
Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added Stale and removed Stale labels Oct 12, 2023
@bansan85
Copy link
Contributor Author

I would like to keep this issue opened and fixed when team knows where install debug tool.

Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants