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

Stop calling setup.py, use a build frontend #2396

Merged
merged 22 commits into from
Dec 13, 2024

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Oct 13, 2024

Closes #2208
Closes #1320 & closes #1487 by virtue of no longer supporting the install method the users were having issues with.

This is dependant on #2390 Done

Please test carefully. Builds and wheels should be the same.

@Avasam Avasam marked this pull request as draft October 13, 2024 03:47
@Avasam Avasam changed the title Stop calling setup.py Stop calling setup.py, use a build frontend Oct 13, 2024
@Avasam Avasam marked this pull request as ready for review October 18, 2024 01:38
@Avasam Avasam requested a review from mhammond October 18, 2024 01:38
Comment on lines +365 to +366
"Can't find checker.py - please install PyChecker "
"(https://pypi.org/project/PyChecker/)\n"
Copy link
Collaborator Author

@Avasam Avasam Oct 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is getting removed by #2412 anyway
(merging that first would reduce changes here by 1 file, but they can be done in any order)

@Avasam
Copy link
Collaborator Author

Avasam commented Dec 12, 2024

Looks like all the artifacts are there
image

I wonder if the repeated --config-setting=--build-option=--plat-name=win-arm64 flag is really necessary

Copy link
Owner

@mhammond mhammond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems great, thanks!

@Avasam
Copy link
Collaborator Author

Avasam commented Dec 13, 2024

I'm feeling confident about this. I'll investigate whether all the flags are really necessary separately. This is a milestone in removing legacy/deprecated code from pywin32. It also opens the door for editable installs, different build frontends, etc.

@Avasam Avasam merged commit 877a2c2 into mhammond:main Dec 13, 2024
31 checks passed
@Avasam Avasam deleted the Stop-calling-setup.py branch December 13, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants