Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2011-11-11 13:06:21 +0400
committerMike Krüger <mkrueger@xamarin.com>2011-11-11 13:06:21 +0400
commite7c9a46e652b01906be54a66de205d466c61a664 (patch)
treee8cb6ae7d880ecb280477a80e4e9c94b5689019c
parentc7397a9e0ff65c18cb8c74e30491670fdc043cf6 (diff)
parente047f99f6df7b5c801102c03f903d4dd722b2989 (diff)
Merge branch 'master' into newresolver
-rw-r--r--extras/PyBinding/PyBinding/PyBinding/PythonHelper.cs9
-rw-r--r--extras/ValaBinding/Makefile.am2
2 files changed, 10 insertions, 1 deletions
diff --git a/extras/PyBinding/PyBinding/PyBinding/PythonHelper.cs b/extras/PyBinding/PyBinding/PyBinding/PythonHelper.cs
index a797280d16..194755229c 100644
--- a/extras/PyBinding/PyBinding/PyBinding/PythonHelper.cs
+++ b/extras/PyBinding/PyBinding/PyBinding/PythonHelper.cs
@@ -109,6 +109,13 @@ namespace PyBinding
// next preferred type.
try {
+ return new Python27Runtime () {
+ Path = Which ("python2.7")
+ };
+ }
+ catch {}
+
+ try {
return new Python26Runtime () {
Path = Which ("python2.6")
};
@@ -129,8 +136,10 @@ namespace PyBinding
public static string FindPreferredPython ()
{
+ try { return Which ("python2.7"); } catch {}
try { return Which ("python2.6"); } catch {}
try { return Which ("python2.5"); } catch {}
+ try { return Which ("python2"); } catch {}
try { return Which ("python"); } catch {}
throw new FileNotFoundException ("Could not locate python executable");
diff --git a/extras/ValaBinding/Makefile.am b/extras/ValaBinding/Makefile.am
index 03500e5c0b..eb50d3c406 100644
--- a/extras/ValaBinding/Makefile.am
+++ b/extras/ValaBinding/Makefile.am
@@ -96,7 +96,7 @@ valabindinglib_DATA = $(ASSEMBLY) $(ASSEMBLY_CONFIG)
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(FILES) $(RES)
+EXTRA_DIST = $(FILES) $(RES) $(ASSEMBLY_CONFIG)
# include $(top_srcdir)/Makefile.include