Trilarion / imperialism-remake

Imperialism remake
https://remake.twelvepm.de/
GNU General Public License v3.0
53 stars 19 forks source link

Create an app bundle on macOs #12

Open Trilarion opened 6 years ago

Trilarion commented 6 years ago

It should combine the game (content of source/imperialism_remake folder), Python 3 for macOs, the required Python modules (see requirements.txt) for macOS, an application icon and should successfully run the application. This should be automatized.

py2app might help there

amtyurin commented 3 years ago

As a possible way we can use miniconda + python + dependencies to start the game, any thoughts?

Trilarion commented 3 years ago

For Windows I used pynsist, which worked right out of the box in the past. I have no experience with MacOS and would have no way of testing or doing something on MacOS. Somebody else would have to do it.

There is also pyinstaller (http://www.pyinstaller.org/).

The project can in principle also be on PyPI, so with a simple pip command it could be installed anywhere, but this is still not something for the user/gamer, who wants a one click solution.

amtyurin commented 3 years ago

I am on Mac and doing everything there.

I see it in the following way: We will have setup.sh which will download miniconda+python and some condo-dependencies/pip-dependencies library to install qt5.x and other libraries There will be start.py/start.sh script to start the game itself.

What do you think?

Andrey

On Aug 17, 2020, at 1:22 PM, Trilarion notifications@github.com wrote:

For Windows I used pynsist https://pypi.org/project/pynsist/, which worked right out of the box in the past. I have no experience with MacOS and would have no way of testing or doing something on MacOS. Somebody else would have to do it.

There is also pyinstaller (http://www.pyinstaller.org/ http://www.pyinstaller.org/).

The project can in principle also be on PyPI, so with a simple pip command it could be installed anywhere, but this is still not something for the user/gamer, who wants a one click solution.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Trilarion/imperialism-remake/issues/12#issuecomment-675093904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXCT4D6XKJY42KCXG5V4N3SBGGRLANCNFSM4DT2W3KQ.

Trilarion commented 3 years ago

Sounds good to me. Because you work on a Mac, you could test it all out. Please do with regard to MacOS packaging as you see fit.