Notes on creating a ground up installer / package for GNUmed 1.2.5 and newer

There ńow is a Mac Mini available running MacOS? 10.5. For this project we will look at using Wxpython's Cocoa variant. This is because this variant supports both 32bit and 64bit machines. This also means MacOS? 10.5 is the minimum required version. We will start off with using wxpython supplied binaries. This in turn means we need to go with Python 2.7.

To make this clear. GNUmed can most likely be made to run on MacOS? 10.4 and python 2.6 but for this installer we will require MacOS? 10.5 or newer. The python version used in the packaged app is of minor importance as this is independent from the python supplied with MacOS? 10.5 (Python 2.5.1) and newer.

It looks like we will be installing a 32bit python on a 64bit Mac here. The wxpython package above supposedly supports both 32bit and 64 bit.

Next up psycopg2. There are no premade packages I am aware of. Should be straightforward to install. http://www.mail-archive.com/django-users@googlegroups.com/msg83590.html

For this to work Postgresql should be installed first. So we will recommend PG 9.1.x

Using the easy_install method should make it possible to avoid MacPorts and go with system wide installation instead.

Next up mxDateTime as part of mxBase

Next up Python Imagin Library - PIL

If not done already we need to make python 2.7 the system wide default over python 2.5 supplied with MacOS? 10.5

A stock GNUmed tarball should now run with Mac-native look and feel

Next up building an all-in-one app (not yet a dmg). We will be using pyinstaller for this.

Topic revision: 16 Sep 2012, SebastianHilbert
 
Download.png
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
Powered by Olark