-
Notifications
You must be signed in to change notification settings - Fork 20
Building on Windows
George Dietz edited this page Dec 4, 2013
·
14 revisions
updated instructions 12/4/13:
- run make_win_build.bat from within src folder (build will be in src/dist).
(assumes extracted Bat To Exe is in C:\Program Files)
updated instructions 6/10/13:
- run make_win_build.bat from within src folder (build will be in src/dist).
- Convert to exe with Bat To Exe Converter (v1.6 e.g. www.f2ko.de) and get set icon from images directory (meta.ico)
Use: python setup.py py2exe
Note that we can make the console disappear by editing the setup.py file to read:
setup(windows=[“meta_form.py”])
Instead of:
setup(console=[“meta_form.py”])
UPDATED INSTRUCTIONS FOR BUILDING ON WINDOWS: 4/16/2013
Note: Let OMADISTROOT refer to top-level build directory (i.e /dist)
- Create windows version of clean_build by doing
cp clean_build clean_build.bat - Run clean_build.bat by doing
> clean_build - type
python gsetup_win.py py2exe --includes sip - change to OMADISTROOT:
cd dist - Make R_dist directory
mkdir R_dist - Copy R 2.15 or what-have-you to from the local install to R_dist
- Copy sample_data directory to OMADISTROOT/sample_data
- Edit building_in_windows\LaunchOpenMetaAnalyst.bat so that R_dist/R-2.15.3 matches the name of the R folder you copied.
- Copy LaunchOpenMetaAnalyst.bat to OMADISTROOT (assuming you are still in the \dist directory in the terminal
> cp ..\building_in_windows\LaunchOpenMetaAnalyst.bat LaunchOpenMetaAnalyst.bat - Convert to exe with Bat To Exe Converter (v1.6 e.g. www.f2ko.de) and get set icon from images directory (meta.ico)
- Copy C:\Python27\Lib\site-packages\PyQt4\plugins\imageformats to OMADISTROOT (the whole imageformats folder)