开发者

Python command to create no-arch rpm's

开发者 https://www.devze.com 2023-04-04 06:53 出处:网络
I am creating rpm\'s for my project which is in pure python. I am running the command python setup.py bdist_rpm

I am creating rpm's for my project which is in pure python. I am running the command

python setup.py bdist_rpm

to build the rpm. This is creating architechture specific rpm's (x86 o开发者_StackOverflow社区r x86-64). What I would like is to have a no-arch rpm. Can any of python guru's help me with creating a no-arch rpm. Any help would be appriciated. Thanks in advance.


If your software does not contain extension modules (modules written in C/C++), distutils will make the RPM noarch. I don’t think there’s a way to explicitly control it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号