Version 2 (modified by Peter Parker, 10 years ago) (diff) |
---|
Easy Developer Setup on Windows Using Anaconda
Current Issues
- For now this is Windows only, though you may try other operating systems if you're happy to use the current versions of all packages.
- OpenMP is not included in the version of MinGW bundled with Anaconda. Either turn OpenMP off, or download your own version of MinGW for now.
Step 1 - Install Anaconda
Download the latest Windows 32-Bit Python 2.7 Installer from http://continuum.io/downloads and run it.
- The recommended destination folder is as good as any. If you deviate from this then it's probably worthwhile to make sure the path is short and contains no spaces.
- 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.
Step 2 - Install Dependancies
Add the channel containing extra dependencies needed by SasView?:
conda config —add channels https://conda.binstar.org/PeterParker
Install all the SasView? dependencies need:
conda install —yes pylint matplotlib=1.1.1 scipy pyparsing html5lib wxpython reportlab lxml PIL setuptools numpy comtypes pywin32 py2exe pisa periodictable bumps numpy sphinx unittest-xml-reporting
Step 3 - Install SVN (Soon to be Git!)
Download and install the latest version of SVN from http://sourceforge.net/projects/win32svn/files/latest/download.
Step 4 - Download and Build SasView?
Download the source code:
svn checkout http://svn.code.sf.net/p/sasview/code/trunk sasview-code cd sasview-code
Build SasView?. To do this we would ideally we would like to run:
python setup.py build -cmingw32