Author: KirkMcDonald Date: 2008-01-04 22:16:11 +0000 (Fri, 04 Jan 2008) New Revision: 749
Added: trunk/pysoy/windows_building.txt Log: Instructions for building on Windows. Added: trunk/pysoy/windows_building.txt =================================================================== --- trunk/pysoy/windows_building.txt (rev 0) +++ trunk/pysoy/windows_building.txt 2008-01-04 22:16:11 UTC (rev 749) @@ -0,0 +1,40 @@ +Building PySoy on Windows +by Kirk McDonald + +You will need: + +* A C compiler. I use MinGW 3.4.2. Other versions of MinGW may work. Visual +Studio will probably work, though it is untested. + +* All of the dependencies listed in the INSTALL file, which should be found +next to this file. Installing these where your compiler can see them is left as +an exercise to the reader. + +Building: + +Distutils gets a little strange when compiling with MinGW. To build PySoy, you +should issue the following command: + +> python setup.py build --compiler=mingw32 + +To install PySoy into site-packages, you should issue the following command: + +> python setup.py build --compiler=mingw32 install + +If you are using Visual C++, the usual "python setup.py install" should work. + +Note that, when you "import soy", the DLLs for PySoy's various dependencies +will need to be somewhere on the DLL search path. The easiest place to put them +is in the 'soy' directory (next to the compiled .pyd files), though anywhere on +the PATH will work. + +Building the Installer: + +This is a four-step process. + +1) Build PySoy. +2) Copy the 'examples' directory into the build\lib.plat-version\soy directory. +3) Copy the various DLL dependencies into that directory, too. +4) Issue the following command: +> python setup.py build --compiler=mingw32 bdist_wininst --install-script=win32_postinstall.py + _______________________________________________ PySoy-SVN mailing list [email protected] http://www.pysoy.org/mailman/listinfo/pysoy-svn
