ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since fd62331 was
d09f0ae1,
checked in by smk78, 10 years ago
|
Renamed from readme.txt (as there was more than one file of this name!)
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[d09f0ae1] | 1 | Quick Intro for Building Sasview |
---|
| 2 | ================================ |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | The build works in the usualy pythonic way: |
---|
| 6 | |
---|
| 7 | $ python setup.py build # will build the package underneath 'build/' |
---|
| 8 | $ python setup.py install # will install the package |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | If you want to check the build without installing: |
---|
| 13 | |
---|
| 14 | $ python run.py # will run the code in place (building the C code once, if required) |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | To check all dependencies are met: |
---|
| 19 | |
---|
| 20 | $ python deps.py |
---|
| 21 | $ python check_packages.py |
---|
| 22 | |
---|
| 23 | Both tell you different parts of the story, unfortunately. |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | Build scripts that are used on http://build.sasview.org/ are in |
---|
| 28 | build_tools. Make sure the build is run first obviously. |
---|
| 29 | |
---|
| 30 | $ build_tools/jenkins_linux_build.sh |
---|
| 31 | $ build_tools/jenkins_linux_test.sh |
---|
| 32 | $ build_tools/jenkins_linux_pylint.sh |
---|
| 33 | |
---|
| 34 | The scripts can be customized using environment variables, but |
---|
| 35 | should do a reasonable job as is in a sane setup. |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | To build just the Sphinx docs: |
---|
| 40 | build_sphinx.py |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | More information can be found here: |
---|
| 44 | |
---|
| 45 | http://www.sasview.org/help.html |
---|
| 46 | http://www.sasview.org/faq.html |
---|
| 47 | http://www.sasview.org/trac/wiki/DevNotes |
---|
Note: See
TracBrowser
for help on using the repository browser.