Changes between Version 34 and Version 35 of InstallWindowsSvn


Ignore:
Timestamp:
Mar 14, 2015, 7:37:40 PM (9 years ago)
Author:
steve
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallWindowsSvn

    v34 v35  
    6464This should produce an anuga_core directory
    6565
    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 at
    72 
    73 {{{
    74 C:\Users\Steve\anuga_core
    75 }}}
    76 then you should add
    77 {{{
    78 C:\Users\Steve\anuga_core\source
    79 }}}
    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 
    8766=== Compiling ANUGA ===
    8867
    89 Now go to the directory anuga_core and compile the anuga files.
     68Now go to the directory anuga_core and build and install the anuga files.
    9069Fire up a cmd terminal, change to the {{{anuga_core}}} directory and run
    9170
    9271{{{
    93 python compile_all.py
     72python setup.py build --compiler=mingw32 install
    9473}}}
    95 
    96 Check that all the files have been compiled correctly. There should be an "OK" at the end of each separate compile command.
    9774
    9875
     
    10279
    10380{{{
    104 python test_all.py
     81python runtests.py
    10582}}}
    10683
     
    11693
    11794{{{
    118 python compile_all.py
    119 python test_all.py
     95python setup.py build --compiler=mingw32 install
     96python runtests.py
    12097}}}
     98
     99=== Notes ===
     100
     101You can add a text file {{{pydistutils.cfg}}} to your C:\Users\Username directory contaning the configuration info
     102
     103{{{
     104[build]
     105compiler=mingw32
     106}}}
     107
     108so that the command
     109
     110{{{
     111python setup.py install
     112}}}
     113
     114will now build using the mingw32 compiler.