Skip to content

Commit 455c99d

Browse files
tomasstupkatimfel
authored andcommitted
remove java_bindings command from standalone module
(cherry picked from commit 2d309ce)
1 parent 7a6a8e7 commit 455c99d

File tree

1 file changed

+0
-18
lines changed
  • graalpython/lib-graalpython/modules/standalone

1 file changed

+0
-18
lines changed

graalpython/lib-graalpython/modules/standalone/__main__.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
FILES_LIST_PATH = VFS_PREFIX + "/" + FILES_LIST_NAME
113113

114114
CMD_NATIVE_EXECUTABLE = "native"
115-
CMD_JAVA_BINDINGS = "java_bindings"
116115
CMD_JAVA_PYTHON_APP = "polyglot_app"
117116
ATTR_STANDALONE_CMD = "command"
118117

@@ -528,21 +527,6 @@ def main(args):
528527
default=[],
529528
)
530529

531-
parser_jar = subparsers.add_parser(
532-
CMD_JAVA_BINDINGS,
533-
help="Create a Java project from the Python code. This gives the most flexibility, as the project can be used to build both standalone Jar files or native binaries using Maven.",
534-
)
535-
parser_jar.add_argument(
536-
"-m", "--module", help="Python file or module folder to run", required=True
537-
)
538-
parser_jar.add_argument("--venv", help="Python venv to bundle")
539-
parser_jar.add_argument(
540-
"-o",
541-
"--output-directory",
542-
help="The directory to write the Java project to.",
543-
required=True,
544-
)
545-
546530
parser_app = subparsers.add_parser(
547531
CMD_JAVA_PYTHON_APP,
548532
help="Create a skeleton Java project. This gives the most flexibility, as the project can be used to build both standalone Jar files or native binaries using Maven.",
@@ -559,8 +543,6 @@ def main(args):
559543

560544
if parsed_args.command == CMD_JAVA_PYTHON_APP:
561545
standalone = PolyglotJavaPython(parsed_args)
562-
elif parsed_args.command == CMD_JAVA_BINDINGS:
563-
standalone = JavaBinding(parsed_args)
564546
else :
565547
standalone = NativeExecutable(parsed_args)
566548

0 commit comments

Comments
 (0)