mailRe: Compile relax as single files for Windows, Mac and Linux


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on September 14, 2010 - 17:29:
Hi,

This seems like a great idea.  Anything to make it easier for the user
would be better.  I've installed this on my Win2k VM image and tested
it - on Mandriva 2010.0, I could not compile the bootloader image so
could not test it.  This is not a simple process and there are a few
problems:

1)  The first is automation of the process for packages.  Pyinstaller
seems to need to run python within the pyinstaller installation
directory.  The *.spec file would be better to be in the relax file
system and this should be scripted to be all self contained within
relax.  We need all of this info in the relax file structure so that
someone can take over the process in the future.

2)  I've now included the relax logo graphics in the 'graphics'
directory, but on Windows I cannot use the ulysses.ico file for the
program icon.

3)  Another problem I have is that when launching the compiled relax
program on Windows built in this way, the program tries to access the
Internet.  I have no idea what this is doing, but relax should not be
doing this.  This is very, very suspicious behaviour :S

4)  Running the test suite is a catastrophe.  There are 146 errors in
155 system tests, and the unit tests will not even run.

5)  The traceback messages do not have the normal relax file
structure, so we may not be able to help users with errors on these
versions.

The concept that the user downloads a single file without any
dependencies is a great idea for Windows users, or even all users who
would like to run it without administrator privileges.  But all these
problems will have to be sorted out before this would be of any use.

Regards,

Edward


On 14 September 2010 00:47, Michael Bieri <michael.bieri@xxxxxxxxxxxxx> wrote:
Hi Edward

What do you think about compiling the Python scripts to binaries? There
is a tool called PyInstaller (http://www.pyinstaller.org/) that does
that pretty well.

The advantage is that users only have to download a single file, which
is bigger, but includes all the Packages (Python modules, NumPy, SciPy,
wxPython....). It works fine on Linux and Mac. On Windows, there is a
limit to Python 2.5, as Python 2.6 requires .dll files of Windows, which
are protected.

I tested PyInstaller on another program using the same modules and it
worked fine (Linux and Windows, not tested on Mac).

Cheers
Michael

_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel mailing list
relax-devel@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel




Related Messages


Powered by MHonArc, Updated Wed Sep 15 01:00:13 2010