-
Notifications
You must be signed in to change notification settings - Fork 3
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
Pack into native application files #32
Comments
For windows, you probably want to use py2exe. Since these are all tools that must be run on the source files before each release, you may want to make some sort of build script for CMAN. In terms of build tools, PyBuilder looks to me like it might work. I'll see if I can get this working. |
Actually, it turns out you can't build a windows .exe with py2exe in an OSX environment (which is what I'm using). I'm still testing Linux. |
I have a Windows partition, I could build with that. I also have a Linux partition which I could build with. And a mac. Perhaps I should do the building? |
Thanks! I'll try to get the setup.py files for windows and Ubuntu finished, then give them to you (though if you don't really want to do the building, I also have Windows, OSX, and Linux systems and could build). |
I'll do it. Does the OSX build require a setup.py? |
It does. Since I don't have a dedicated place set up for this build stuff yet, here's a pastebin with the OSX setup.py: http://pastebin.com/HT43V8qG To use it, put it in the same folder as all the sources. It will build. However, I found that it now errors whenever it tries to do input() on the console, it crashes with an "EOFError: EOF when reading a line" error. Apparently, the built version doesn't support console input. So actually all uses of input() that are used when the gui is enabled (there are nine of them, all in CMAN_util.py) must be removed (and replaced with dialogs) from the GUI version, which also must be made the default, before the build will actually run. |
OK, thanks. |
Sorry about leaving this for a year! I think that for now we should just release the version with the GUI, and then worry about trying to make native app files (I think that I found out it's somewhat tricky). What do you think? |
Sounds like a good idea. I feel that what's actually holding us back right now is the fact that we have barely any mods in our repository - most people will not download a mod manager that doesn't manage all the mods they have. In a few days I'll add some more mods to the archive, then we can fix the bugs in the GUI version (there are quite a few) and release. |
Self explanatory. .exe and .app, and a linux application too.
The text was updated successfully, but these errors were encountered: