fedora-python / pyp2rpm

Tool to convert a package from PyPI to RPM SPECFILE or to generate SRPM.
MIT License
128 stars 39 forks source link

setup.py not found when trying pyp2rpm on jrti-game #145

Closed encukou closed 6 years ago

encukou commented 6 years ago

I tried pyp2rpm on my package, jrti_game, without success:

$ pyp2rpm jrti_game
Package "jrti_game" could not be found on PyPI.
$ pyp2rpm jrti-game
setup.py not found, maybe local_file is not proper source archive.

I believe it may have to do with package name normalization, see https://github.com/fedora-python/pyp2rpm/issues/144

(Also, what's local_file?)

irushchyshyn commented 6 years ago

I believe the following case was fixed in #98 and is available starting version 3.2.2.

pyp2rpm jrti-game setup.py not found, maybe local_file is not proper source archive.

Which version of pyp2rpm was used?

encukou commented 6 years ago

I see! I use the version in Fedora 26.

pyp2rpm-3.2.1-3.fc26.noarch

It works with the pip-installed one. Sorry for the noise!

irushchyshyn commented 6 years ago

(Also, what's local_file?)

Good question:)