Blob Blame History Raw
--- plugins/org.python.pydev/src/org/python/pydev/ui/pythonpathconf/PythonInterpreterProviderFactory.java.orig	2017-11-05 19:12:46.000000000 +0000
+++ plugins/org.python.pydev/src/org/python/pydev/ui/pythonpathconf/PythonInterpreterProviderFactory.java	2017-11-22 14:38:25.372593021 +0000
@@ -25,9 +25,6 @@
 import org.python.pydev.shared_core.string.StringUtils;
 import org.python.pydev.shared_core.utils.PlatformUtils;
 
-import at.jta.Key;
-import at.jta.Regor;
-
 public class PythonInterpreterProviderFactory extends AbstractInterpreterProviderFactory {
 
     @Override
@@ -49,50 +46,6 @@
         final String[] ret = searchPaths(pathsToSearch, searchPatterns, false);
         foundVersions.addAll(Arrays.asList(ret));
 
-        if (PlatformUtils.isWindowsPlatform()) {
-            // On windows we can also try to see the installed versions...
-            try {
-                Regor regor = new Regor();
-
-                // The structure for Python is something as
-                // Software\\Python\\PythonCore\\2.6\\InstallPath
-                for (Key root : new Key[] { Regor.HKEY_LOCAL_MACHINE, Regor.HKEY_CURRENT_USER }) {
-                    Key key = regor.openKey(root, "Software\\Python\\PythonCore", Regor.KEY_READ);
-                    if (key != null) {
-                        try {
-                            @SuppressWarnings("rawtypes")
-                            List l = regor.listKeys(key);
-                            for (Object o : l) {
-                                Key openKey = regor.openKey(key, (String) o + "\\InstallPath", Regor.KEY_READ);
-                                if (openKey != null) {
-                                    try {
-                                        byte buf[] = regor.readValue(openKey, "");
-                                        if (buf != null) {
-                                            String parseValue = Regor.parseValue(buf);
-                                            // Ok, this should be the directory
-                                            // where it's installed, try to find
-                                            // a 'python.exe' there...
-                                            File file = new File(parseValue, "python.exe");
-                                            if (file.isFile()) {
-                                                foundVersions.add(file.toString());
-                                            }
-                                        }
-                                    } finally {
-                                        regor.closeKey(openKey);
-                                    }
-                                }
-                            }
-                        } finally {
-                            regor.closeKey(key);
-                        }
-                    }
-                }
-
-            } catch (Throwable e) {
-                Log.log(e);
-            }
-        }
-
         if (foundVersions.size() > 0) {
             // Remove duplicates
             foundVersions = new ArrayList<String>(new LinkedHashSet<String>(foundVersions));
--- plugins/org.python.pydev/build.properties.orig	2014-07-31 14:13:39.439344020 +0100
+++ plugins/org.python.pydev/build.properties	2014-07-31 14:13:57.866059652 +0100
@@ -8,10 +8,8 @@
                about.mappings,\
                pydev.png,\
                plugin.properties,\
-               LICENSE.txt,\
-               libs/,\
-               libs/WinRegistry-4.5.jar,\
-               css/,\
+               LICENSE.txt,\
+               css/,\
                helpers/
 jars.compile.order = pydev.jar
 source.pydev.jar = src/,\