Commit 2117dc94 authored by Paal Kvamme's avatar Paal Kvamme
Browse files

Fix name clash and also avoid scary names.

parent 09bc5559
Pipeline #31106 passed with stages
in 7 minutes and 45 seconds
......@@ -33,7 +33,7 @@ module1 = Extension('sdglue',
sources = ['sdgluemodule.cpp'],
include_dirs = ['../../build/temp/Seismic-Drive/include'],
library_dirs = ['../../build/temp/Seismic-Drive/lib/linux64'],
runtime_library_dirs = ['$ORIGIN/sdapihack'],
runtime_library_dirs = ['$ORIGIN/sdapilibs'],
extra_compile_args = ['-fopenmp', '-std=c++11', '-O2'],
extra_link_args = ['-fopenmp', '-Wl,-z,origin'])
......@@ -43,9 +43,9 @@ setup (name = 'SdGlue',
"Programming Language :: C++ :: 11",
"License :: OSI Approved :: Apache Software License",
],
packages = ['sdapihack'],
package_dir = {'sdapihack': '../../build/temp/Seismic-Drive/lib/linux64'},
package_data = {'sdapihack': ['libsdapi.so*']},
packages = ['sdapilibs'],
package_dir = {'sdapilibs': '../../build/temp/Seismic-Drive/lib/linux64'},
package_data = {'sdapilibs': ['libsdapi.so*']},
version = version,
description = 'Python wrapper for C++ SDAPI',
#author='',
......
......@@ -23,10 +23,10 @@ As is standard in Python, you can also get help on individual classes and indivi
help(openzgy.api.ZgyReader.read)
If you install the binary "SdZhzGlue" Python module you will also be able to read and write sd:// uris using seismic store.
If you install the binary "SdGlue" Python module you will also be able to read and write sd:// uris using seismic store.
pip3 install SdZhzGlue-*.whl
pip3 install SdGlue-*.whl
Unlike the core OpenZGY, this library will need to match your OS and Pyhon version. The build server supports 10 or so combinations of Linux and Python. No windows support yet. As for the module name... don't ask.
Unlike the core OpenZGY, this library will need to match your OS and Pyhon version. The build server supports 10 or so combinations of Linux and Python. No windows support yet.
If you install ZFP version 0.5.5 you will be able to read and write compressed files. You may need to build that library from source. ZFP is open source, but I haven't found any repo that has pre-built Python packages for it.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment