File tree Expand file tree Collapse file tree
wayang-api/wayang-api-python/src
main/java/org/apache/wayang/api/python/executor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ public PythonProcessCaller() {
4343
4444 // TODO create documentation to how to the configuration in the code
4545 this .configuration = new Configuration ();
46- this .configuration .load (ReflectionUtils .loadResource ("wayang-api-python-defaults.properties" ));
46+ System .out .println (this .configuration .getStringProperty ("wayang.api.python.worker" ));
47+ //this.configuration.load(ReflectionUtils.loadResource("wayang-api-python-defaults.properties"));
48+ System .out .println (this .configuration .getStringProperty ("wayang.api.python.worker" ));
4749 this .ready = false ;
4850 final byte [] addr = new byte [4 ];
4951 addr [0 ] = 127 ;
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one or more
3+ # contributor license agreements. See the NOTICE file distributed with
4+ # this work for additional information regarding copyright ownership.
5+ # The ASF licenses this file to You under the Apache License, Version 2.0
6+ # (the "License"); you may not use this file except in compliance with
7+ # the License. You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+ wayang.api.python.worker = python/src/pywy/execution/worker.py
18+ wayang.api.python.path = python3
19+ # wayang.api.python.env.path = /usr/local/lib/python3.8/dist-packages
You can’t perform that action at this time.
0 commit comments