Open sobolevn opened 7 years ago
Maybe related https://github.com/jordansissel/fpm/issues/1016
PyPI canonizes package names to use '-', if RPM packages use the non-canon name, that is somewhat broken (e.g. Debian uses python-prompt-toolkit
). Also make sure you use a current pip
.
See pypa/setuptools#1597
See https://github.com/jordansissel/fpm/issues/1016#issuecomment-440581634 for a possible workaround.
I have faced this issue when working on https://github.com/dbcli/pgcli/issues/70#issuecomment-252417251
I have this setup.py file. Take a note that
prompt_toolkit
is spelled with_
.Now, when creating a
rpm
package for all thepip
deps, everything goes fine:When checking for deps, that's what happens:
When trying to install all fails:
I have tried almost everything. Specifying
-n
and other options (even-e
withsed
). The only workaround I found is to remove auto-deps with--no-auto-deps
and specify them manually.Maybe related https://github.com/jordansissel/fpm/issues/65