gregex wrote: > I got the Audiophonics python OLED script working with on pCP 6.1 with > python3.6 > (A quick and dirty port of an old Audiophonics python script is > attached.) > > Increase your filesystem size (500 MB is more than enough) > > Install the following extensions: compiletc.tcz, freetype-dev.tcz, > python3.6-dev.tcz, squashfs-tools.tcz (I may have forgotten one or > two) > > Create a file called reqs.pip with the following contents: > > > Code: -------------------- > > > pillow --global-option="build_ext" --global-option="--disable-jpeg" --global-option="--disable-zlib" --global-option="--enable-freetype" > luma.oled > luma.core > pyftdi > smbus2 > spidev > RPI.GPIO > pyusb > pyserial > pylms > -------------------- > > > > Then run the following commands > > > Code: -------------------- > > > sudo python3 -m pip install --upgrade pip setuptools > pip install -r reqs.pip --prefix=/tmp/raspdacmini-deps/usr/local --ignore-installed > sed -i 's/\t/ /' /tmp/raspdacmini-deps/usr/local/lib/python3.6/site-packages/pylms/player.py > mksquashfs /tmp/raspdacmini-deps /tmp/raspdacmini-py36-deps.tcz > sudo cp -p /tmp/raspdacmini-py36-deps.tcz /etc/sysconfig/tcedir/optional > echo raspdacmini-py36-deps.tcz | sudo tee -a /etc/sysconfig/tcedir/onboot.lst > -------------------- > >
Thanks for info, will give it ago when I have a minute. ------------------------------------------------------------------------ kit1cat's Profile: http://forums.slimdevices.com/member.php?userid=66141 View this thread: http://forums.slimdevices.com/showthread.php?t=112288 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
