<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
	<mime-type type="text/x-python" id="python" work="$(EDITOR_DIR_PATH)" lock="file" ver="2">
    <config id="ErrRegex" name="ERRREGEX" value="\&quot;([\w\.]+)\&quot;\,\s*line\s*(\d+)"/>
		<config id="GoTools" name="GOTOOLS" value="$(LITEIDE_TOOL_PATH)/gotools"/>
		<custom id="python" name="PYTHON" value="python"/>
		<custom id="TargetArgs" name="TARGETARGS" value=""/>		
		<action id="Run" key="Ctrl+R" img="run.png" cmd="$(PYTHON)" args="$(EDITOR_FILE_NAME) $(TARGETARGS)" save="editor" output="true" codec="utf-8" regex="$(ERRREGEX)" readline="true" />
		<action id="RunTerm" key="Ctrl+Shift+F5" img="runterm.png" cmd="$(LITEIDE_EXEC)" args="$(LITEIDE_EXECOPT) $(GOTOOLS) runcmd python $(EDITOR_FILE_NAME)" save="editor" output="false" readline="true"/>
		<action id="RunTerm" os="macosx" img="runterm.png" key="Ctrl+Shift+F5" cmd="/usr/bin/open" args="-a Terminal $(EDITOR_FILE_NAME)" output="false" readline="true"/>
	</mime-type>
</mime-info>
