Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: foxsam on May 02, 2019, 10:02:33 AM

Title: python evdev for picore
Post by: foxsam on May 02, 2019, 10:02:33 AM
Is there a package that has python evdev for the pi? I searched and did not find for pi only for x86_64. If I do install it using pip what is the minumum I need to save so I can
Code: [Select]
import evdev??
Thanks
Title: Re: python evdev for picore
Post by: Rich on May 02, 2019, 11:23:19 AM
Hi foxsam
There's a build script here:
http://tinycorelinux.net/8.x/x86_64/tcz/src/python3.6-evdev/
It doesn't appear very complicated.
Title: Re: python evdev for picore
Post by: foxsam on May 02, 2019, 11:57:36 AM
Its not. I wanted to avoid installing (loading temporarily) compiletc and python-dev because I use my pi for other things and didn't want to spend all the resources on compiling something that there is a package already.

I just used pip (in a venv) and pip install evdev and now its there.

My question now is what is the minimum I need to keep from the (venv)\bin\ directory to be able to use evdev and erase the rest?
Title: Re: python evdev for picore
Post by: mocore on May 02, 2019, 05:16:51 PM
My question now is what is the minimum I need to keep from the (venv)\bin\ directory to be able to use evdev and erase the rest?
my guess would be more or less what is listed in python3.6-evdev.tcz.list

http://tinycorelinux.net/8.x/x86_64/tcz/python3.6-evdev.tcz.list

    [EDIT]: Corrected link. Changed  hzzp  to  http.  Rich