Skip to content

Conversation

tazend
Copy link
Member

@tazend tazend commented Dec 4, 2022

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

Well, doesn't really do much right now since it's just
one file being compiled - but maybe it will matter in the future.

Also make it so the "install" command doesn't actually build anything,
and just installs. Update the README to promote usage of the build.sh
script
Also remove the installation instruction for PyPi - it's not up there
yet.
Just do a recursive include of all .pyx .pxd .pxi .h files
@tazend tazend requested a review from giovtorres December 4, 2022 20:57
@tazend tazend merged commit da978a6 into PySlurm:main Jan 3, 2023
tazend added a commit that referenced this pull request Jan 19, 2023
* update the build-script to allow parallel builds

Well, doesn't really do much right now since it's just
one file being compiled - but maybe it will matter in the future.

Also make it so the "install" command doesn't actually build anything,
and just installs. Update the README to promote usage of the build.sh
script
Also remove the installation instruction for PyPi - it's not up there
yet.

* fix bdist_rpm not including pyslurm.pyx

Just do a recursive include of all .pyx .pxd .pxi .h files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bdist_rpm doesn't work because pyslurm.pyx isn't included in the source file

1 participant