Skip to content

Commit 354988e

Browse files
Resolve #1 by removing py extension to avoid Jython conflicts
1 parent ef858da commit 354988e

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

Diff for: src/main/java/org/scijava/plugins/scripting/python/PythonScriptLanguage.java

+2-9
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@
2929

3030
package org.scijava.plugins.scripting.python;
3131

32-
import java.util.Arrays;
33-
import java.util.List;
34-
3532
import javax.script.ScriptEngine;
3633

34+
import org.scijava.Priority;
3735
import org.scijava.plugin.Plugin;
3836
import org.scijava.script.AbstractScriptLanguage;
3937
import org.scijava.script.ScriptLanguage;
@@ -45,17 +43,12 @@
4543
* @author Karl Duderstadt
4644
* @see ScriptEngine
4745
*/
48-
@Plugin(type = ScriptLanguage.class, name = "Conda Python 3")
46+
@Plugin(type = ScriptLanguage.class, name = "Conda Python 3", priority = Priority.VERY_LOW)
4947
public class PythonScriptLanguage extends AbstractScriptLanguage {
5048

5149
@Override
5250
public ScriptEngine getScriptEngine() {
5351
return new PythonScriptEngine(getContext());
5452
}
5553

56-
@Override
57-
public List<String> getExtensions() {
58-
return Arrays.asList("py");
59-
}
60-
6154
}

0 commit comments

Comments
 (0)