Changes between Version 25 and Version 26 of DevNotes/Obsolete/AnacondaSetup
- Timestamp:
- Mar 24, 2016 4:16:45 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevNotes/Obsolete/AnacondaSetup
v25 v26 15 15 * At the Advanced Options screen, you need to consider whether or not you want to make Anaconda your default version of Python. Developers who do not work on multiple Python projects can just accept the defaults here. 16 16 17 == Step 2 - Install Depend ancies ==17 == Step 2 - Install Dependencies == 18 18 19 19 Add the channel containing extra dependencies needed by SasView: … … 32 32 }}} 33 33 34 Install all the SasView dependencies we need:34 Install all required !SasView dependencies: 35 35 36 36 {{{ 37 conda install --yes pylint matplotlib scipy pyparsing html5lib wxpython reportlab lxml PIL setuptools numpy comtypes pywin32 py2exe pisa numpy sphinx unittest-xml-reporting mingw p eriodictable bumps37 conda install --yes pylint matplotlib scipy pyparsing html5lib wxpython reportlab lxml PIL setuptools numpy comtypes pywin32 py2exe pisa numpy sphinx unittest-xml-reporting mingw pip 38 38 }}} 39 39 40 Note 1: mingw can be removed from the command line above if you have a separate MinGW 32-bit installation. 41 42 Note 2: if periodictable & bumps do not install, see Steps 5 & 7. 40 The bumps and periodictable Anaconda packages are not up to date. To install the latest versions, use pip as below, or checkout the repositories as outlined in Step 5. 41 {{{ 42 pip install bumps periodictable 43 }}} 43 44 44 45 == Step 3 - Install Git (or optionally stay with SVN) == … … 59 60 Download: http://sourceforge.net/projects/win32svn/files/latest/download 60 61 61 == Step 4 - Download the SasView Source Code == 62 == Step 4 - Download the !SasView and !SasModels Source Code == 63 64 The !SasView source code requires the sasmodels source directory to be in the same base directory for proper referencing. The dependencies also require the directories be named sasview and sasmodels. 62 65 63 66 {{{ 64 67 # With Git: 65 git clone https://github.com/SasView/sasview.git sasview-code 68 git clone https://github.com/SasView/sasview.git sasview 69 git clone https://github.com/SasView/sasmodels.it sasmodels 66 70 # With SVN: 67 svn checkout https://github.com/SasView/sasview sasview-code 68 cd sasview-code 71 svn checkout https://github.com/SasView/sasview sasview 72 svn checkout https://github.com/SasView/sasmodels sasmodels 73 cd sasview 69 74 }}} 70 75 … … 72 77 Added by smk78 73 78 74 Only follow this step if the bumps & periodictable packages were not installed by conda in Step 2.79 Follow this step to use the source code rather than installed packages for bumps and periodictable. 75 80 76 81 {{{ 77 82 # With Git: 78 git clone https://github.com/bumps/bumps.git bumps -code79 git clone https://github.com/pkienzle/periodictable.git periodictable -code83 git clone https://github.com/bumps/bumps.git bumps 84 git clone https://github.com/pkienzle/periodictable.git periodictable 80 85 # With SVN: 81 svn checkout https://github.com/bumps/bumps.git bumps -code82 svn checkout https://github.com/pkienzle/periodictable.git periodictable -code86 svn checkout https://github.com/bumps/bumps.git bumps 87 svn checkout https://github.com/pkienzle/periodictable.git periodictable 83 88 }}} 84 89 … … 109 114 Added by smk78 110 115 111 Only follow this step if the bumps & periodictable packages were not installed by condain Step 2.116 Only follow this step if you chose to close the bumps & periodictable repositories in Step 5 rather than pip install them in Step 2. 112 117 113 Navigate to the bumps -codefolder:118 Navigate to the bumps folder: 114 119 {{{ 115 120 python setup.py install 116 121 }}} 117 122 118 Navigate to the periodictable -codefolder:123 Navigate to the periodictable folder: 119 124 {{{ 120 125 python setup.py install