You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New robot start-up script to replace pybot, jybot and ipybot #2216
Now that we start supporting more interpreter types, like python 3 and perhaps pypy in future, it starts to get quite a bit much to create a new starter script for each. (pybot, pybot3, pypybot...?) And what when there will be 3-versions of ironpython and jython?
It seems like a good time to go for the generic robot starter script, which would be for the version that was last installed. It is rather rare to need to run robot on multiple interpreters on the same machine. And if that is needed, there is always the option jython -m robot.run.
For now we should just install the new script along with the old scripts. Then maybe in future versions we can start deprecating the old scripts.
UPDATE: We also decided to use rebot with all interpreters. jyrebot and ipyrebot will continue to work as earlier for now.
Code changes look good and updating r?bot.bat wasn't as hacky as I was afraid. Doc changes are to be reviewed separately, but I still want to test the new Windows scripts with virtual environments.
Also, now we tested this on all sorts of platforms, including virtualenv and everything works like a charm. The new robot script also now sets the complete path to actual interpreter, unlike pybot, jybot and others, which simply call python or jython and assume that the interpreter in path is the correct one.
Activity
robot runner script: initial implementation. Needs still at least docs.
[-]New `robot` starter script[/-][+]New `robot` start-up script to replace `pybot`, `jybot` and `ipybot`[/+]Update docs to prefer robot runner script. #2216
Added __main__.py to allow execution like `python -m robot`. #2223
cleanup ug related to robot runner script and -m robot. #2223 #2216
Set actual interpreter path to robot.bat and rebot.bat. #2216
pekkaklarck commentedon Nov 19, 2015
Code changes look good and updating
r?bot.batwasn't as hacky as I was afraid. Doc changes are to be reviewed separately, but I still want to test the new Windows scripts with virtual environments.jussimalinen commentedon Nov 19, 2015
Also, now we tested this on all sorts of platforms, including virtualenv and everything works like a charm. The new
robotscript also now sets the complete path to actual interpreter, unlikepybot,jybotand others, which simply callpythonorjythonand assume that the interpreter in path is the correct one.pekkaklarck commentedon Nov 19, 2015
Tested with virtual environments both on Linux and Windows. Worked great! I consider this issue done.
Update git submodules
Use 'robot' cli instead of 'pybot'
Update git submodules