metachris/RPIO

Naming-conflict with rpio and rpio-curses commands

Opened this issue · 1 comments

lurch commented

When doing both pip install rpio (to install the python2 version of RPIO) and pip3 install rpio (to install the python3 version of RPIO), each process installs /usr/local/bin/rpio and /usr/local/bin/rpio-curses.
This means if you run the pip command first and the pip3 command second, then rpio-curses will end up running the python3 version of the command; whereas if you ran the pip3 command first (and the pip command second), then rpio-curses will end up running the python2 version of the command.

IMHO it'd be more consistent if the python3-versions had a 3 on the end, just like pip / pip3, so I could then explicitly choose whether to run rpio-curses (the python2 version) or rpio-curses3 (the python3 version).

Hope I've explained that clearly enough...

lurch commented

And I've just realised that this also means that if you run sudo pip install rpio; sudo pip3 install rpio; sudo pip uninstall rpio then this deletes the /usr/local/bin/rpio and /usr/local/bin/rpio-curses files, so even though the python3 version of RPIO is still installed, the rpio-curses command has now 'vanished'.