relational/windows
LtWorf bd2a0afb5e - ready for new release (i hope)
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@341 014f5005-505e-4b48-8d0a-63407b615a7c
2011-11-07 18:59:38 +07:00
..
font dejavu - Removed the rarfile for the fonts on windows and keeping the fonts directly on svn 2010-07-03 18:01:45 +07:00
README.txt - Improved tokenizer 2011-11-01 18:47:03 +07:00
favicon.ico merged windows setup branch into trunk 2009-06-30 09:28:44 +07:00
input.py - ready for new release (i hope) 2011-11-07 18:59:38 +07:00
ss.iss - ready for new release (i hope) 2011-11-07 18:59:38 +07:00

README.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

Requirements:
1)Python 2.6;
2)PyQt for python 2.6 (it should already include the qt libs);
3)Py2exe
4)Innosetup

It might be necessary to have the: Microsoft Visual C++ 2008 Redistributable Package, because python 2.6 uses it and it's not installed by default in windows.


	Create an exe file
- Remove the directory relational_pyside (uses symlinks that won't work on windows)
- Move the file windows/input.py to ../
- Chech that the version number is correct
- Execute "python input.py py2exe"

At the end, there should be a directory named "dist" containing the exe file and the needed libs (excluding for the c++ one)

	Create the setup with Inno Setup
- Move windows/ss.iss to ../
- Open ss.iss with Inno Setup, Build and Compile

A directory named "Output" will be created, which will contain the installer.

Notes:
- To create the setup, don't move the "dist" directory or its content.
- Do not delete or move the directory windows/font dejavu
- If the shell is open, it will not work. The windows shell does not support unicode and will generate exceptions when trying to print expressions on it