fedora-python/pyp2rpm

Use options from pipconfig

jonavon opened this issue · 1 comments

Currently, I get an error when trying to convert a package that doesn't in the default PYPI_URL.

>$ pyp2rpm notacommonpackage
Package "notacommonpackage" could not be found on PyPI.

Please allow the customization of default options.

Note that if you're packaging for Fedora, the guidelines indicate that the package should be available on PYPI: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_pypi_parity

If you're not packaging on Fedora, you can provide the path to a local archive file on the pyp2rpm command line.

Please allow the customization of default options.

Are you specifying a different index-url in your configuration file?