-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
rpm: -ba: unknown option with setuptools #1456
Comments
I confirm that on my machine a recent rpm version (4.14.2) does not have the -b switch anymore. It looks nowadays rpm packages are built with rpmbuild which is already supported by python distutils. So installing rpmbuild should make bidst_rpm work. |
Thanks for digging into this @xrmx. @jaraco @benoit-pierre Should we deprecate |
On debian and brew the rpmbuild command is inside the rpm package, on fedora AFAICT is in a separate package rpm-build. Problem with brew on MacOS is that it gets installed in /usr/local/bin which is not a path searched by CPython distutils code for rpmbuild. |
+1 for deprecating. |
Document that rpmbuild is required for bdist_rpm Refs #1456
So there's more chances that is found. At least on MacOS when installed with brew. This is the minimal fix i can find to help with: pypa/setuptools#1456.
Running below command in venv(Python-3.6)
Error logs:
Versions:
This is working for zip packaging but not for RPM. Please check.
Thanks in advance.
The text was updated successfully, but these errors were encountered: