Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple RPM packages from one setup.py #1380

Open
MikeFalowski opened this issue May 22, 2018 · 5 comments
Open

Multiple RPM packages from one setup.py #1380

MikeFalowski opened this issue May 22, 2018 · 5 comments
Labels
Needs Triage Issues that need to be evaluated for severity and status.

Comments

@MikeFalowski
Copy link

Hey everyone! Not sure if this is good place for this question but is it possible to build more than one RPM package from one setup.py (eg. like in SPEC file you can define more packages like package, package-lib, package-cfg etc.)?

Unfortunately, I haven't found anything about that, only someone mentioned about few setup.py files.

@pganssle
Copy link
Member

Are you using RPM in a generic sense or are you referring to the rpm package management software? As far as I know setuptools itself does not generate any RPM packages at all.

@MikeFalowski
Copy link
Author

I meant rpm package management. So bdist_rpm is not a part of setuptools? I'm quite new to this.

@pganssle
Copy link
Member

Ah, you're right, there is a bdist_rpm, I've just never had any reason to use it or think about it.

The documentation for building RPM packages is here.

@pganssle pganssle added the Needs Triage Issues that need to be evaluated for severity and status. label Oct 19, 2018
@pganssle
Copy link
Member

@MikeFalowski Did you ever find out how to do this? I think it's probably not advisable to be building more than one package per setup.py (I really dislike that setuptools does it), and I don't know the current state of rpm support in setuptools, but if you found something please let me know.

@MikeFalowski
Copy link
Author

What I've found is that it's rather impossible to build more packages per one setup.py. There were some suggestions on the Internet to create setup.py in every package folder or to create threads and in every thread run setup.py, but I haven't tried any of those solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Triage Issues that need to be evaluated for severity and status.
Projects
None yet
Development

No branches or pull requests

2 participants