Skip to content

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

@martijnkruiten

Description

@martijnkruiten

Details

  • Slurm Version: 22.05.6
  • Python Version: 3.6
  • Cython Version: 0.29.6
  • PySlurm Branch: v22.05.0
  • Linux Distribution: Rocky Linux 8.9

Issue

python3 setup.py bdist_rpm doesn't build and package pyslurm.cpython-*.so, which is fixed by manually including pyslurm/pyslurm.pyx in the source file (pyslurm-<version>.tar.bz2) and building the RPMs with rpmbuild directly. I also had to add -D 'debug_package %{nil}' to rpmbuild to get it to build, but that's a separate issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions