source: sasview/INSTALL.txt @ 8a32342d

Last change on this file since 8a32342d was 8a32342d, checked in by wojciech, 6 years ago

dummy commit for jenkins testing

  • Property mode set to 100644
File size: 1.5 KB
Line 
1Testing jenkins
2Quick Intro for Building Sasview
3================================
4
5Note - at the current time sasview will only run in gui form under Python 2.
6
7Before trying to install and run sasview you'll need to check what
8dependencies are required:
9
10$ python check_packages.py
11
12Many of these are available from PyPi, but some (e.g. h5py) may require more
13involvement to build and install. If you use the conda package manager then
14many of the pre-built dependencies are available there. This may be the easiest
15route if you are on windows.
16
17The build works in the pythonic way:
18
19$ python setup.py build      # will build the package underneath 'build/'
20$ python setup.py install    # will install the package into site-packages
21
22
23If you want to check the build without installing:
24
25$ python run.py              # will run the code in place (building the C code once, if required)
26
27On OSX or windows you may need to use:
28
29$ pythonw run.py
30
31
32Build scripts that are used on http://build.sasview.org/ are in
33build_tools. Make sure the build is run first obviously.
34
35$ build_tools/jenkins_linux_build.sh
36$ build_tools/jenkins_linux_test.sh
37$ build_tools/jenkins_linux_pylint.sh
38
39The scripts can be customized using environment variables, but
40should do a reasonable job as is in a sane setup.
41
42
43
44To build just the Sphinx docs:
45build_sphinx.py
46
47
48More information can be found here:
49
50http://www.sasview.org/help.html
51http://www.sasview.org/faq.html
52http://www.sasview.org/trac/wiki/DevNotes
Note: See TracBrowser for help on using the repository browser.