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