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

Fix error message when setup.py cannot be found #146

Closed irushchyshyn closed 6 years ago

irushchyshyn commented 6 years ago

Reference self.local_file in an error message when setup.py can't be found. E.g change form:

 $ ./mybin.py jrti-game
Failed to synchronize cache for repo 'fedora-skype', disabling.
setup.py not found, maybe local_file is not proper source archive.

to:

 $ ./mybin.py jrti-game
Failed to synchronize cache for repo 'fedora-skype', disabling.
setup.py not found, maybe /home/ishcherb/rpmbuild/SOURCES/jrti_game-1.0.tar.gz is not proper source archive.

Also reported in #145.

mcyprian commented 6 years ago

LGTM.