ow2-proactive / jsr223-cpython

JSR223 script engine for CPython
GNU Affero General Public License v3.0
1 stars 5 forks source link

Engine will not run for .py files #17

Open LemmaEOF opened 4 years ago

LemmaEOF commented 4 years ago

Currently .cpy is the only extension supported by the script engine. This causes issues with text editor syntax highlighters that are hardcoded to file extensions, and is generally a bit frustrating. It'd be great to have .py supported as well.

fviale commented 4 years ago

@Boundarybreaker Indeed, the file extension .cpy is used to avoid conflict with the jython script engine which already uses the .py extension. As we do not own the jython engine source code, but use it in our software, we had to use a different extension for the jsr223-cpython engine, in order to dynamically determine which engine is used (cpython or jython) based on file extensions.