| 1 | = Developer Setup for Windows (64-bit) = |
| 2 | |
| 3 | Make sure to download 64 bit packages! |
| 4 | |
| 5 | == Install MS Visual C Redistributable == |
| 6 | Install MSVC++ for Python from [https://www.microsoft.com/en-us/download/details.aspx?id=44266] |
| 7 | |
| 8 | == Install Anaconda == |
| 9 | Install Anaconda 64-bit Python 2.7 from [https://www.continuum.io/downloads] |
| 10 | |
| 11 | == Get !SasView == |
| 12 | |
| 13 | Install Git from [https://git-scm.com/download/win] |
| 14 | |
| 15 | {{{ |
| 16 | git clone https://github.com/SasView/sasview.git |
| 17 | git clone https://github.com/SasView/sasmodels.git |
| 18 | }}} |
| 19 | |
| 20 | == Install Package Dependencies == |
| 21 | |
| 22 | {{{ |
| 23 | conda install numpy scipy wxpython matplotlib pil lxml pillow pylint pyparsing sphinx reportlab pytest cffi decorator py |
| 24 | pip install pyopencl xmlrunner unittest-xml-reporting xhtml2pdf html5lib |
| 25 | pip install tinycc |
| 26 | }}} |
| 27 | |
| 28 | The sphinx, bumps and periodictable Anaconda packages are not up to date. To install the latest versions, use pip as below: |
| 29 | {{{ |
| 30 | pip install sphinx==1.3.6 |
| 31 | pip install bumps==0.7.5.9 |
| 32 | pip install periodictable==1.3.0 |
| 33 | }}} |
| 34 | |
| 35 | Notes: |
| 36 | * If attempting to upgrade older versions of bumps and/or periodictable, first ''uninstall'' any versions already installed. |
| 37 | {{{ |
| 38 | pip uninstall bumps |
| 39 | pip uninstall periodictable |
| 40 | }}} |
| 41 | You ''may'' need to issue these commands more than once to ensure that all previous versions are cleaned out. |
| 42 | * The above does not install the latex environment needed to build PDF docs. |
| 43 | * To build the windows installer you also need innosetup and py2exe. |
| 44 | |
| 45 | == Build !SasView == |
| 46 | {{{ |
| 47 | cd sasview |
| 48 | python setup.py build |
| 49 | }}} |
| 50 | |
| 51 | == Try the Build! == |
| 52 | |
| 53 | {{{ |
| 54 | python run.py |
| 55 | }}} |