Home Download Buy Blog Forum Support

Python build system

Python build system

Postby Gekitsuu on Mon Aug 15, 2011 8:49 pm

I wrote a sublime-build file for python so I could execute scripts from the editor, this should work for anyone if they copy it into the Packages/Python directory and save it as "Python.sublime-build"

Code: Select all
{
   "cmd": ["python", "-u", "$file"],
   "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
   "selector": "source.py"
}
Gekitsuu
 
Posts: 4
Joined: Mon Aug 15, 2011 2:31 pm

Re: Python build system

Postby bizoo on Wed Aug 17, 2011 5:21 am

This file is already on the standard distribution, what's your version of ST2 ?
bizoo
 
Posts: 859
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland


Return to Plugin Development

Who is online

Users browsing this forum: Exabot [Bot] and 5 guests

cron