The RPM build is unlikely to work unless done under CentOS. Assuming
the Mastr-MS source code is checked out at /usr/local/src, you can
build an RPM in more-or-less the normal way by running these
commands:

The spec file requires CCGSOURCEDIR to be set. It will download
all the python dependencies with pip, create the RPM, and output
it to ~/rpmbuild/RPMS (or the location you have configured in
~/.rpmrc).

First, make sure you have updated the version number in version.py
to be unique, and sequentially higher than previous ones.

On Windows box, get the latest client dir. Run:

c:\Python27\python.exe setup.py bdist_esky

Then unzip the build you just did (in dist/) so that the files are
available to the installer.

If you then ran the nsi file (right click on the file and choose
‘Compile with NSIS’), it would make an installer, using the build you
just did (in /dist) as a source. So that is how you make an
installer.

If you want to publish just the update, you take the .zip that is
generated in the dist directory, and scp it to the
distribution URL. Currently, this is on S3, under
http://repo.ccgapps.com.au/ma/

As long as the version.py version was incremented, a new version
will be available to esky.