Changes between Version 34 and Version 35 of InstallWindowsSvn
- Timestamp:
- Mar 14, 2015, 7:37:40 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallWindowsSvn
v34 v35 64 64 This should produce an anuga_core directory 65 65 66 === Setup PYTHONPATH ===67 68 We need to tell python where the anuga source code is located.69 This is done via the {{{PYTHONPATH}}} environment variable.70 71 For instance, if your {{{anuga_core}}} directory was located at72 73 {{{74 C:\Users\Steve\anuga_core75 }}}76 then you should add77 {{{78 C:\Users\Steve\anuga_core\source79 }}}80 to your {{{PYTHONPATH}}}81 82 Environment variables are accessed via {{{control panel -> advanced system settings -> Environment Variables}}} and then add a new Environment variable {{{PYTHONPATH}}} with value {{{C:\Users\Steve\anuga_core\source}}} (or what ever is appropriate for your installation)83 84 85 86 87 66 === Compiling ANUGA === 88 67 89 Now go to the directory anuga_core and compilethe anuga files.68 Now go to the directory anuga_core and build and install the anuga files. 90 69 Fire up a cmd terminal, change to the {{{anuga_core}}} directory and run 91 70 92 71 {{{ 93 python compile_all.py72 python setup.py build --compiler=mingw32 install 94 73 }}} 95 96 Check that all the files have been compiled correctly. There should be an "OK" at the end of each separate compile command.97 74 98 75 … … 102 79 103 80 {{{ 104 python test_all.py81 python runtests.py 105 82 }}} 106 83 … … 116 93 117 94 {{{ 118 python compile_all.py119 python test_all.py95 python setup.py build --compiler=mingw32 install 96 python runtests.py 120 97 }}} 98 99 === Notes === 100 101 You can add a text file {{{pydistutils.cfg}}} to your C:\Users\Username directory contaning the configuration info 102 103 {{{ 104 [build] 105 compiler=mingw32 106 }}} 107 108 so that the command 109 110 {{{ 111 python setup.py install 112 }}} 113 114 will now build using the mingw32 compiler.