SF.net SVN: geany: [1033] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Sat Nov 25 17:07:59 UTC 2006


Revision: 1033
          http://svn.sourceforge.net/geany/?rev=1033&view=rev
Author:   ntrel
Date:     2006-11-25 09:07:59 -0800 (Sat, 25 Nov 2006)

Log Message:
-----------
Change python default compile command to create a compiled python
.pyc file (thanks to Bajusz Tam?\195?\161s).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/data/filetypes.python

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-11-25 16:33:38 UTC (rev 1032)
+++ trunk/ChangeLog	2006-11-25 17:07:59 UTC (rev 1033)
@@ -15,6 +15,9 @@
    src/document.c, src/ui_utils.c:
    Make ui_set_statusbar() use printf-style arguments & assume the
    message should not be overridden.
+ * data/filetypes.python:
+   Change python default compile command to create a compiled python
+   .pyc file (thanks to Bajusz Tamás).
 
 
 2006-11-24  Nick Treleaven  <nick.treleaven at btinternet.com>

Modified: trunk/data/filetypes.python
===================================================================
--- trunk/data/filetypes.python	2006-11-25 16:33:38 UTC (rev 1032)
+++ trunk/data/filetypes.python	2006-11-25 17:07:59 UTC (rev 1033)
@@ -41,5 +41,5 @@
 # %f will be replaced by the complete filename
 # %e will be replaced by the filename without extension
 # (use only one of it at one time)
-compiler=python "%f"
+compiler=python -c "import py_compile; py_compile.compile('%f')"
 run_cmd=python "%f"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list