openSUSE / py2pack

Generate distribution packages from PyPI
Apache License 2.0
69 stars 40 forks source link

Wrong paths for man #114

Closed jayvdb closed 2 years ago

jayvdb commented 5 years ago

I used @asdf-vm to build py2pack, and while generating for anyconfig the .spec contained:

%dir /home/jayvdb/.asdf/installs/python/3.7.2/share/man/man1
/home/jayvdb/.asdf/installs/python/3.7.2/share/man/man1/anyconfig_cli.1

I suspect something is using sys.executable, and this might be fixed by using /usr/bin/python* instead, but that could create new problems.

mcepl commented 2 years ago

I would prefer working Python (thus sys.executable) than non-standard setups. Hopefully you know how to use search-and-replace function of your editor.