$Id: building.txt,v 1.1 2006/04/03 14:30:58 dorsettmf Exp $ Building Instructions This document is intended for both Windows and Linux Building. **** Dependencies **** You'll need to install a couple (or bunch) of libraries to build Vierstein. It is directly dependent on the following Python Libraries: Pyui (version in package or in cvs under vierstein/pyui) PyOpenGl Pygame PyOpenGl in turn requires a lot. Here are the libraries I use + version number (Note: not all them may be needed, but I am not sure) Newer versions of libraries should and usually work, but nothing is guaranteed: python 2.3.3 (You will need at least a 2.3.x version for things like TarFiles) PyOpenGl 2.0.0.44 pygame 1.5.6 Numeric 23.1 PIL 1.1.4 Non-Python Libraries required for PyOpenGl: glut 3.7 ActiveTcl 8.4.4.0 (For windows) TCL/TK Source 8.4.x (For Linux) Note about Pygame on Linux: Pygame will require SDL (pretty much all of it) to be on the system. Including: SDL main, mixer, image, ttf smpeg Numeric (also required by PyOpengl) **** Vierstein/Pyui Src **** After downloading the source package, you'll need to copy the "pyui" and "utils" folders over into your site-packages folder. On Windows it might look like c:\Python\Lib\site-packages\ On Linux it might look like /usr/lib/python2.3/site-packages/ Then put the vierstein folder where-ever you like and run the main.py script found in bin. [OPTIONAL - Win32] Building an exe file isn't necessary, I normally just run 'python main.py' from the command prompt in /vierstein/bin/. To build a exe version, I use py2exe. Once you have that, just run the buildme.bat script. **** Fonts **** Look in 'running.txt' for more info on installing fonts. *** Display Problems *** I've seen texture problems on some of the newer Nvidia Drivers. Right now I am still using Nvidia's version 61.77.