Skip to content

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

Merged
Avasam merged 22 commits intomhammond:mainfrom
Avasam:Stop-calling-setup.py
Dec 13, 2024
Merged

Stop calling setup.py, use a build frontend#2396
Avasam merged 22 commits intomhammond:mainfrom
Avasam:Stop-calling-setup.py

Conversation

@Avasam
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

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