Hi David,
This doesn't directly address your issue with the official Windows installer, but for my own use I've been building PDFgui and its dependencies on Windows 7 so I can use it as part of a more modern Python installation. Both PyCifRW and PDFfit2 have C dependencies that need to be compiled, but the process isn't too difficult. Hopefully this will help you, or anyone else who would like to use PDFgui on Windows.
1. Install a standard Python 2.7 distribution from
python.org.
2. Install appropriate binaries for
numpy,
matplotlib, and
wxPython.
3. Download and install
Visual Studio Express 2008. (T
his should also work, if you don't want the IDE.)
4. Download binaries for the
VSE2008-compatible port of GNU Scientific Library (GSL) 1.13, and extract to some folder.
5. Download the following
header files (for PyCifRW) and stick them in the GSL "include" directory since we'll need to point the compiler to that anyway. (You can put them somewhere else, just make sure to add that directory as well in step 7.)
6. Download the sources for pdfgui and its dependencies, and extract them to some folder. (Due to recent changes in how pip/easy_install resolve package versions, and API changes in some of the most recent releases of the dependencies, those programs don't necessarily download the correct packages for older software like PDFgui.) The files listed here correspond to the most recent
official release of PDFgui.
PyCifRWdiffpy.Structurediffpy.utilsdiffpy.pdffit2diffpy.pdfgui7. In a command window set environment variables pointing to the GSL include and lib directories (step 4), respectively. (Depending on your system, this might need to be an administrator command window.)
SET CL=/I"C:\path\to\gsl\include"
SET LINK=/LIBPATH:"C:\path\to\gsl\lib"
8. From this same command window, run "setup.py install" in the main directory of each of the packages listed in step 6. I'd recommend running them in the order listed above, which installs relevant dependencies first.
9. Run PDFgui! Besides an ignorable exception that sometimes occurs when loading CIFs, I have not had any problems.
Hope this is helpful!
Luke