Commit d89cc8d0 authored by Valentin Buck's avatar Valentin Buck
Browse files

Fixed linux module paths

parent e8a3efff
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ def createModifiedCallback(anobject):
                extensions="asc", file_description="ESRI ASCII Raster Files")
class PythonESRIGridReader(VTKPythonAlgorithmBase):
    def __init__(self):
        VTKPythonAlgorithmBase.__init__(self, nInputPorts=0, nOutputPorts=1, outputType='vtkUnstructuredGrid')
        VTKPythonAlgorithmBase.__init__(self, nInputPorts=0, nOutputPorts=1, outputType='vtkPolyData')
        self._filename = None
        self._data = None
        self._pos_lon = 10.18299
+2 −1
Original line number Diff line number Diff line
@@ -17,7 +17,8 @@ def process_rust(path, module):
        subprocess.Popen(["ls", "target", "release"], cwd=cwd).wait()
        subprocess.Popen(["find", "."],cwd=cwd).wait()
        shutil.copyfile(os.path.join(path,module,"target","release", module + ".dll"),os.path.join(path,module,"target","release", module + ".pyd"))
        return [os.path.join(path,module,"target","release", module),os.path.join(path,module,"target" ,"release", module + ".pyd")]
        shutil.copyfile(os.path.join(path,module,"target","release", "lib" + module + ".so"),os.path.join(path,module,"target","release", module + ".so"))
        return [os.path.join(path,module,"target","release", module + ".so"),os.path.join(path,module,"target" ,"release", module + ".pyd")]

def process_python(path, module):
    return [os.path.join(path,module)]