开发者

Python command to create no-arch rpm's

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜