cubii wrote: 
> H there,
> 
> i want to use an RFID Reader combined with picoreplayer.
> For that rfid reader, i need to use a library (MRFC522 library) and the
> library needs SPI-py https://github.com/lthiery/SPI-Py.
> i have installed python-dev, compile?? and RPI-Gpio?? extensions (via
> the webpage)
> 
> So now  i just downloaded the SPI-py library on my Windows pc and then
> copied the folder to home/tc/SPI-Py.
> 
> Now i need to install it, and thats my problem:
> 
> When i use:
> > 
Code:
--------------------
  >   > sudo python setup.py install 
--------------------
> > 
> 
> it installs fine, but i can only use it until the next reboot, because
> the internal backup function of picoreplayer does not backup the
> installation folder of SPI-py (not that one under /home/tc, but the
> one where it gets installed)
> 
> If i use 
> > 
Code:
--------------------
  >   > sudo python setup.py install --user
--------------------
> > 
> 
> i can start my python script which uses it also after restarting
> picoreplayer (and using its backup function) but i cannot autostart my
> script, it only works if i start the script inside its installation
> folder (i mean it starts only if i do: Cd /home/tc/Myscript/  and then
> sudo python Myscript.py
> .
> 
> Autostarting is done by using:
> 
> sudo nano /opt/bootlocal.sh
> sudo python /home/tc/Myscript/Myscript.py
> 
> Any idea how to solve this?
> 
> Like Backup the Library differently? or installing it differently?
> 
> Greetings
> 
> cubii

That's starting to get involved, have you read all of the information
over at www.tinycorelinux.net? There is a lot of information about
persistence and creating extensions for the Core based OS.

Files are Backed up based on /opt/.filetool.lst


------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=107137

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to