pyb00st
pyb00st copied to clipboard
initial version for packaging (setup.py, openSUSE rpm spec)
might fit for fedora also
Nice, thanks. This even makes it possible to do a python3 ./setup.py install
into a virtualenv
.
Unfortunately, the RPM building on Fedora 27 fails with an error:
error: line 35: Unknown tag: %python_subpackages
Likely because the macro (and some others used in the spec file) is missing from the python-rpm-macros
package shipped with Fedora.
@LenzGr Yeah, I see. Unfortunatly I don't have time to fix this. Having a spec for all rpm based distributions would be great, because it could be built in OBS like here:
https://build.opensuse.org/package/show/home:M0ses/python-pyb00st
contributions or hints how to fix this issue are welcome :-)
@JorgePe I think for pylint we need a general design decision
- Would you like the scripts/libs be pylint conform in general
- How to treat the "invalid-name" problem for "constants" if pylint is a goal
- use uppercase variable names like here: https://github.com/JorgePe/pyb00st/pull/6/commits/f93114214d093bcb0a13a16aa32ade8f361ce5df#diff-8b04711f9bfdc3af2a935dcbb1e73876R9
- ban "main" into function like in https://github.com/JorgePe/pyb00st/pull/6/commits/1c8c71a6fad300b677441b6f6e3888ea382fec6a
- disable check globally in pylintrc
- disable check per line like describe here https://docs.pylint.org/en/latest/faq.html#do-i-have-to-remember-all-these-numbers
Looks like it works in Fedora 27 now too
https://build.opensuse.org/package/show/home:M0ses/python3-pyb00st