1set Python$Dir <Obey$Dir>
2set PythonApp$Path <Obey$Dir>.
3
4IconSprites <Obey$Dir>.!Sprites
5
6<Obey$Dir>.AddToPath Python$Path PythonApp:Lib
7<Obey$Dir>.AddToPath Python$Path PythonApp:Lib.plat-riscos
8<Obey$Dir>.AddToPath Python$Path PythonApp:Lib.site-packages
9set Alias$@RunType_ae5 TaskWindow |"python %%*0|" -name |"Python|" -quit -wimpslot 1248k
10| -display
11set File$Type_ae5 Python
12
13| load modules for 32 bit compatibility
14RMEnsure UtilityModule 3.10 Error This application requires RISC OS 3.10 or later
15RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.02 RMLoad System:Modules.CallASWI
16RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.02 Error This application requires CallASWI 0.02 or later
17RMEnsure FPEmulator 4.03 RMLoad System:Modules.FPEmulator
18RMEnsure FPEmulator 4.03 Error This application requires FPEmulator 4.03 or later
19RMEnsure SharedCLibrary 5.17 RMLoad System:Modules.CLib
20RMEnsure SharedCLibrary 5.34 Error This application requires SharedCLibrary 5.34 or later
21
22set Alias$Python Run <Python$Dir>.python23 %*0