PySlurm / pyslurm

Python Interface to Slurm
https://pyslurm.github.io
GNU General Public License v2.0
474 stars 116 forks source link

Fix creating RPM packages #248

Closed tazend closed 1 year ago

tazend commented 1 year ago

Fixes the creation of RPM packages (with bdist_rpm) which didn't work because pyslurm.pyx wasn't actually included in the tar file that rpmbuild uses to create the RPM - also removes the python-nose, python-sphinx and Cython build-requirements, I think it is fine enough when a virtualenv is used with these installed during build time.

Also makes it so the python setup.py install actually only installs again and doesn't do any compilation. And update the build.sh script to allow usage of multiple cores when building (even though there is no real benefit yet, since there is only one file that needs to be compiled right now - but maybe sometime in the future it will help)

Closes #246