JorgePe / pyb00st

Python for LEGO BOOST
MIT License
143 stars 21 forks source link

initial version for packaging (setup.py, openSUSE rpm spec) #6

Open M0ses opened 6 years ago

M0ses commented 6 years ago

might fit for fedora also

LenzGr commented 6 years ago

Nice, thanks. This even makes it possible to do a python3 ./setup.py install into a virtualenv.

LenzGr commented 6 years ago

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.

M0ses commented 6 years ago

@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 :-)

M0ses commented 6 years ago

@JorgePe I think for pylint we need a general design decision

M0ses commented 6 years ago

Looks like it works in Fedora 27 now too

https://build.opensuse.org/package/show/home:M0ses/python3-pyb00st