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.tz and RPI-Gpio.de extensions.

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.

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


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

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to