Joakim Hove
49d61cb4f6
Merge pull request #999 from stefoss23/PYINPUT
...
Can extract parserkw's in python.
2019-09-06 23:22:26 +02:00
Steinar Foss
318d396adc
Parserkeyword property -> name/ ParserKW -> ParserKeyword.
2019-09-06 22:50:25 +02:00
Steinar Foss
ff79a404be
Can extract parserkw's in python.
...
added keyword PYINPUT.
added pythonclass ParserKW.
python acces to ParserKW.
removed wrong kw PYINPUT.
...
2019-09-06 15:40:31 +02:00
Arne Morten Kvarving
1c988dc721
fixed: quell exception if PYTHONPATH env var is nonexistent
2019-09-06 14:57:52 +02:00
Steinar Foss
132fc1ff1b
moved pyclass EclipseConfig to ecl_state.
2019-09-06 09:42:46 +02:00
Steinar Foss
6dfab9c621
added new python test state2.
2019-09-06 09:13:30 +02:00
Steinar Foss
dedc74f299
exposed cxx class EclipseConfig to python dir. via pybind11.
2019-09-06 09:05:02 +02:00
Steinar Foss
ad50a22ed7
removed python class EclipseConfig.
2019-09-05 21:05:19 +02:00
Joakim Hove
7984d2a0f4
Expose the Parser class properly to Python
2019-09-05 08:44:47 +02:00
Joakim Hove
1d8f07fe62
Rename parser/parser.py -> parser/parser_module.py
2019-09-05 08:44:47 +02:00
Joakim Hove
723113b3b9
Add small shell script templates to simplify Python development
2019-09-05 08:44:47 +02:00
Joakim Hove
a2fc480e16
Move enum CompletionOrder to Connection class
2019-09-04 14:46:58 +02:00
Joakim Hove
dcf4347aee
Moved connection state enum to Connection class
2019-09-04 14:46:58 +02:00
Joakim Hove
a7c5483b0f
Move Well status enum to Well2 class
2019-09-04 14:46:58 +02:00
Joakim Hove
c516f868e4
Slight reorganizing of Python tree
2019-08-23 19:15:51 +02:00
Joakim Hove
8e8abee556
Renamed opm.parser -> opm.io
2019-08-23 11:24:15 +02:00
Joakim Hove
7e775ecd17
Emptied the opm/__init__.py file and create opm.parser package
2019-08-19 16:01:19 +02:00
Steinar Foss
10142b482e
setup.py discontinue glob use.
2019-08-16 10:37:48 +02:00
Steinar Foss
522dee0a47
setuptools install PYTHONPATH circumvention.
2019-08-16 10:35:28 +02:00
Steinar Foss
554ceb87dd
setup.py will install python packages.
...
setup.py install to CMAKE_INSTALL_PREFIX.
cmake will create python install dir.
2019-08-15 17:00:43 +02:00
Steinar Foss
36338c8a71
namespace sunbeam -> opmcommon_python.
2019-08-15 11:35:28 +02:00
Steinar Foss
c94ed2f643
renaming python/cxx/sunbeam*.* -> common *.*
2019-08-15 11:19:18 +02:00
Steinar Foss
e25416c236
renamed python pkg sunbeam -> opm.
...
setup.py: test_suite -> tests_suite .
libsunbeam -> libopmcommon_python.
sunbeam -> opm: test_connection ok.
test_deck ok.
test_group_tree ok.
test_grupnet ok.
test_parse_deck.py ok.
test_parse.py ok.
python all tests ok.
2019-08-15 11:02:09 +02:00
Steinar Foss
d1052d2034
setup.py: uses ccache c++.
2019-08-09 18:14:02 +02:00
Steinar Foss
cf9aa917dc
setup.py: may use ccache.
...
added note.
2019-08-09 18:14:02 +02:00
Steinar Foss
b0ad3a2b26
resolved merge conflict.
2019-08-09 10:48:43 +02:00
Steinar Foss
c208a59597
Sunbeam will be compiled with setuptools.
...
setup.py moved to python/python.
moved python tests to python/python.
added __init__.py under python/tests.
added 'test_' before all python test names.
test_ prefix added to tests.
setup.py and python tests moved back to python base.
setuptools executes from root python.
python: tests run from root python w/ setup.py.
python tests: temp reduced to test_deck only.
python setup.py: manually linked opmcommon.
setup.py: linked ecl.
setup.py linked boost_filesystem.
setup.py: linked boost_regex.
python all tests run.
removec usr/local from setup.py ext_module.
cmake make copies entire python dir to build.
setup.py can execute from build.
setup.py executes from build/python.
python tests run under setup.py.
setup.py library_dirs and include-dirs set by cmake command.
removed cmake files from sunbeam.
sunbeam: added code for install.
setup.py: removed 'import ecl'.
python/src -> python->src_sunbeam.
setup.py: discontinued use of glob, all files listed instead.
build-opm_module.sh: added prefix_path to opm.
build-opm-module.sh: changed spell error for EXTRA_MODULE_FLAGS[opm-common].
setup.py: infer include directories from cmake target
CMakeLists.txt: under python: align install statement.
CMakeLists build python: removed find_package.
src_sunbeam -> cxx.
setup.py: test_suite as string.
setup.py: tests_suite -> test_suite.
setup.py: added exception if 'build_ext' not used.
temporarily moved files to python/sunbeam.
2019-08-09 10:40:33 +02:00
Joakim Hove
7c856f681d
Use new classes Group2 and GTNode
2019-08-06 22:59:16 +02:00
Joakim Hove
160f0f83e1
Remove Schedule::getGroups()
2019-07-15 06:01:44 +02:00
Joakim Hove
7559c31e43
Use Schedule::groupNames() intead of getGroups()
2019-07-15 06:01:44 +02:00
Joakim Hove
fe83324746
Moved Group related files to Group/ folder in filesystem
2019-07-03 11:15:51 +02:00
Steinar Foss
597bbde151
jenkins will build python. ( #865 )
...
Jenkins will build with -DOPM_ENABLE_PYTHON=ON
2019-06-29 08:20:00 +02:00
Steinar Foss
af2e3190a2
python tests: runs ok directly under opm-common.
2019-06-20 12:04:09 +02:00
Steinar Foss
da1fb0b744
python compiles directly.
2019-06-20 10:05:53 +02:00
Steinar Foss
5e88782e51
sunbeam test schedule.py works for new Well2.
2019-06-19 14:43:59 +02:00
Steinar Foss
24f44c1c64
sunbeam test connections.py works for new Well2.
2019-06-19 14:06:20 +02:00
Steinar Foss
4161a1339a
test well.py all pass with new Well2.
2019-06-19 13:51:43 +02:00
Steinar Foss
a1d4fe13af
sunbeam scheduls: get_wells as a function.
2019-06-19 11:51:38 +02:00
Steinar Foss
55f9c8c24f
can compile sunbeam.
2019-06-19 11:41:37 +02:00
Steinar Foss
ea208bbd56
pybind11: added note to README file.
2019-06-17 09:55:59 +02:00
Steinar Foss
79a5ba09e2
removed sunbeam specific files.
2019-06-17 09:42:01 +02:00
Steinar Foss
d73d0ccc99
added from libecl FindPythonModule/PythonPackage, from pycmake pycmake_test_runner.
2019-06-16 22:00:41 +02:00
Steinar Foss
5bc282d60e
removed pycmake.
2019-06-16 19:13:47 +02:00
Steinar Foss
51b484d930
python/CMakeLists: changed pycmake path.
2019-06-14 16:42:37 +02:00
Steinar Foss
141aa41e30
added embedded repo pycmake.
2019-06-14 14:45:08 +02:00
Steinar Foss
8d2398612b
added embedded repo pybind11.
2019-06-14 14:34:20 +02:00
Steinar Foss
327e6c3a5c
removed submodules pycmake and pybind11.
2019-06-14 14:32:08 +02:00
Markus Fanebust Dregi
ebcac44715
Move .gitmodules to root
2019-06-07 08:26:15 +02:00
Joakim Hove
77795b5005
Add 'python/' from commit '278373703455ea6562a0f8e5278b4db46eb1fc7e'
...
git-subtree-dir: python
git-subtree-mainline: e8dbf7d8ee
git-subtree-split: 2783737034
2019-05-08 07:20:29 +02:00
Joakim Hove
b7fc40078b
Set __version__ to 0.1.2
2018-11-06 11:18:00 +01:00