Question

I'm looking for a way to generate .deb and .rpm packages from my build scripts, containing the resulting products. Since everything is written in Python, I'm wondering if anyone knows of an abstraction layer that would allow me to drive both RPM and Deb construction from the same code?

Was it helpful?

Solution

Distutils in python's standard library has a bdist_rpm command to build rpms and the third-paty stdeb module adds a command for producing debs.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top