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.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since ca1af82 was
4651383,
checked in by Tobias Richter <tobias.richter@…>, 11 years ago
|
refs #219 add some build info to the source tree
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[4651383] | 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 | More information can be found here: |
---|
| 40 | |
---|
| 41 | http://www.sasview.org/help.html |
---|
| 42 | http://www.sasview.org/faq.html |
---|
| 43 | http://www.sasview.org/trac/wiki/DevNotes |
---|
Note: See
TracBrowser
for help on using the repository browser.