rpm: -ba: unknown option with setuptools #1456
Closed
Labels
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. |
xrmx
added a commit
to xrmx/setuptools
that referenced
this issue
Oct 28, 2018
This was referenced Oct 28, 2018
xrmx
added a commit
to xrmx/setuptools
that referenced
this issue
Oct 28, 2018
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. |
xrmx
added a commit
to xrmx/cpython
that referenced
this issue
Oct 29, 2018
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.
PyPA Sprint Weekend at Bloomberg (2018)
automation
moved this from In progress
to Closed Issues
Oct 30, 2018
pganssle
added a commit
that referenced
this issue
Oct 30, 2018
Document that rpmbuild is required for bdist_rpm Refs #1456
xrmx
added a commit
to xrmx/cpython
that referenced
this issue
Dec 29, 2018
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: