-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
It should be possible to build successfully without external libraries #69174
Comments
We do have the option of leaving out all extension modules ("/p:IncludeExtensions=false"), but it would be nice to be able to build everything that doesn't require external libs. This also be adds an option to skip only Tkinter (analogous to "/p:IncludeSSL=false"), as that's what I actually need at the moment :). I'm not adding options for every external project individually, as most of them are not a big deal, but OpenSSL, Tcl/Tk/Tix, and (on 2.7) bsddb take a long time to compile and might be nice to leave out when they're not needed (so I also added the ability to leave out bsddb on 2.7). Leaving out 3.4 as its project files are not amenable to this kind of change, and 3.4's days are numbered anyway. |
This also changes the behavior of the '-e' flag on build.bat a bit, leaving off '-e' means there will be no attempt to build the modules that require external sources even if the sources are already there. Adding '-e' means building those modules will be attempted, subject to the '--no-<module>' flags. |
New changeset 2bc91f1f2b34 by Zachary Ware in branch '2.7': New changeset 301c36746e42 by Zachary Ware in branch '3.5': New changeset 50d38fa13282 by Zachary Ware in branch 'default': |
The committed versions are slightly different, I had bad logic in adding _socket to ExtensionModules (if IncludeExternals was false while IncludeSSL was true, _socket wasn't added). build.bat also uses the property names instead of its own internal names so as not to stomp on the environment. |
New changeset 252d4760f28b by Zachary Ware in branch '2.7': New changeset 4e7ce0b10eea by Zachary Ware in branch '3.5': New changeset eca6ecc62b95 by Zachary Ware in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: