relational/windows
Salvo 'LtWorf' Tomaselli 54ffbbdc3c Updated windows instructions
to include the 2010 redistributable.

<rant>Windows is several GiB large, but they felt like having to
save space when they had to include a 5MiB library that is used
by everything.</rant>
2015-06-07 09:57:46 +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 Updated windows instructions 2015-06-07 09:57:46 +07:00
favicon.ico merged windows setup branch into trunk 2009-06-30 09:28:44 +07:00
input.py Changed version in input.py 2015-06-04 21:51:20 +07:00
ss.iss Updated windows instructions 2015-06-07 09:57:46 +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 3.4, 32bit
2)PyQt5 for python 3.4, 32bit (it should already include the qt libs);
3)Py2exe
4)Innosetup

It is necessary to have the: Microsoft Visual C++ 2010 Redistributable Package.

	Create an exe file
- 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)

- manually copy the platforms subdirectory of plugins from the PyQt5 folder into dist

	Create the setup with Inno Setup
- Move windows/ss.iss to ../
- Download the Microsoft Visual C++ 2010 Redistributable, call it vcredist_x86.exe and save it in the relational main directory
- 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