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

how to build the windows installer? #7

Closed
liudonghua123 opened this issue Jul 24, 2022 · 2 comments
Closed

how to build the windows installer? #7

liudonghua123 opened this issue Jul 24, 2022 · 2 comments

Comments

@liudonghua123
Copy link

liudonghua123 commented Jul 24, 2022

Hi, I read the docs on https://cpython-core-tutorial.readthedocs.io/en/latest/build_cpython_windows.html and it seems do not provide the instructions or guides on how to make the windows installer?

I use \Tools\msi\build.bat -x86 or Tools\msi\buildrelease.bat -x86 currently, it only build the executables and a lot of msi.

And the build files python-3.10.5.exe or python-3.10.5-amd64.exe is quite samll.

3f188f302fa733c53a977f9da7973fc

Could you share your solutions?

@adang1345
Copy link
Owner

The buildrelease.bat script does build the single-file Windows installer. See whether #4 helps.

@liudonghua123
Copy link
Author

Thanks, Tools\msi\buildrelease.bat -x86 / Tools\msi\buildrelease.bat -x64 works for me now. It seems that it is not necessary to add the folder containing gendef.exe (This should be externals\windows-installer\binutils relative to the source root) to PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants