pace-neutrons / pace-python

Python module of the PACE inelastic neutron data analysis suite of programs.
GNU General Public License v3.0
3 stars 4 forks source link

Update Pace-python build system #26

Closed a-larkins99 closed 1 year ago

a-larkins99 commented 1 year ago

New features:

Usage:

python setup.py bdist_wheel <options>

After this the wheel can be installed and is located in the dist directory within pace-python.

List of new options introduced:

Example:

If we want to turn SpinW off and use a version of Horace already on your machine you can run the following:

python setup.py bdist_wheel -DWITH_SPINW=OFF -DHORACE_PATH="/path/to/your/systems/Horace"

System specific comments

Windows:

May need to manually provide a Matlab path using the -DMatlab_ROOT_DIR="/path/to/Matlab" option.

Linux:

a-larkins99 commented 1 year ago

Looks good. CI jobs on Jenkins are not running because this is from fork and it cannot find the commits in the main repo.

Updated CI is a work in progress