-
Notifications
You must be signed in to change notification settings - Fork 156
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
Update Build Process #2040
Comments
At least with where I'm looking right now, the py2exe system is working and the wix system is working. Initial attempts to change this evening showed it would be a giant pain to replace the whole system, vs just putting it in a more maintainable state. Looked at PyInstaller but couldn't get a working build. Wix is annoying me and might be worth extra effort to try and knock back. |
Going to do a handover to black (New Maintainer Preference)
As I've said on Discord, the biggest problem with any "build a python project into a .exe" tool is ensuring it includes all the necessary python modules, either in the .exe itself or as a There are some modules that edmc uses (notably infi_systray, which then relies on pkg_resources which is the actual issue) that themselves import modules in a non-standard manner. That then requires special handling by py2exe to ensure the modules are included in the build output. In short, if changing to any other means of building a .exe you need to pay close attention to both startup messages to ensure no imports are failing, but also check that anything an edmc plugin loads works. The issue there is that because we import the plugins, even the core ones, on the fly, there's literally no way for py2exe or similar to know about anything they import at build time. There's no simple When I was last active the |
With respect to the installer/WiX.... yes, it really needs redoing. Marginal's philosophy seemed to be to make the installer as minimal as possible, I think principally in order to have the auto-update process be as streamlined as possible. This means there's:
It should be possible to "pretty up" the first-time installation process whilst still utilising command-line arguments to make the update process streamlined. |
Co-authored-by: Phoebe <40956085+C1701D@users.noreply.github.com>
Co-authored-by: Phoebe <40956085+C1701D@users.noreply.github.com>
Co-authored-by: Phoebe <40956085+C1701D@users.noreply.github.com>
Describe the enhancement
The current build process is functional, but is in need of some TLC. The build file should be updated to be more in line with current pythonic standards, as well as to see if any enhancements in speed, reliability, or performance can be made. In addition, further research should be done on if py2exe is still the best option for building the project. Finally, Wix should be investigated to see if it is still the most optimal for our needs.
The text was updated successfully, but these errors were encountered: