-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from GeoStat-Framework/develop
1.1.0 release
- Loading branch information
Showing
88 changed files
with
192 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,68 @@ | ||
language: python | ||
python: 3.7 | ||
|
||
matrix: | ||
include: | ||
# separate sdist and coverage with py36 on linux | ||
- name: "sdist and coverage" | ||
sudo: required | ||
language: python | ||
python: 3.6 | ||
services: docker | ||
script: | ||
- python -m pip install -U setuptools pytest-cov coveralls | ||
- python setup.py sdist -d dist | ||
- python -m pip install -r requirements.txt | ||
- python -m pytest --cov ogs5py --cov-report term-missing -v tests/ | ||
- python -m coveralls | ||
# universal wheel on 64bit Linux with py36 | ||
- name: "py2.py3 wheel" | ||
sudo: required | ||
language: python | ||
python: 3.6 | ||
services: docker | ||
# setuptools-scm needs all tags in order to obtain a proper version | ||
git: | ||
depth: false | ||
|
||
env: | ||
global: | ||
# Note: TWINE_PASSWORD is set in Travis settings | ||
- TWINE_USERNAME=geostatframework | ||
- CIBW_BEFORE_BUILD="pip install setuptools" | ||
|
||
script: | ||
# create wheels | ||
- python -m pip install cibuildwheel==1.0.0 | ||
- python -m cibuildwheel --output-dir dist | ||
|
||
after_success: | ||
- python -m pip install twine | ||
- python -m twine upload --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ dist/* | ||
- if [[ $TRAVIS_TAG ]]; then python -m twine upload --verbose --skip-existing dist/*; fi | ||
|
||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
- [email protected] | ||
|
||
# before_install: | ||
# - | | ||
# if [[ "$TRAVIS_OS_NAME" = windows ]]; then | ||
# choco install python --version 3.7.7 | ||
# export PATH="/c/Python37:/c/Python37/Scripts:$PATH" | ||
# # make sure it's on PATH as 'python3' | ||
# ln -s /c/Python37/python.exe /c/Python37/python3.exe | ||
# fi | ||
|
||
install: | ||
- python3 -m pip install .[test] coveralls | ||
|
||
script: | ||
- python3 -m pytest --cov ogs5py --cov-report term-missing -v tests/ | ||
|
||
stages: | ||
- test | ||
- name: deploy | ||
if: (NOT type IN (pull_request)) AND (repo = GeoStat-Framework/ogs5py) | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
name: Test on Linux | ||
services: docker | ||
after_success: python3 -m coveralls | ||
- stage: test | ||
name: Test on MacOS | ||
os: osx | ||
language: generic | ||
# skip windows due to a VTK BUG | ||
# - stage: test | ||
# name: Test on Windows | ||
# os: windows | ||
# language: shell | ||
|
||
# Test Deploy source distribution | ||
- stage: deploy | ||
name: Test Deploy | ||
install: python3 -m pip install -U setuptools wheel twine | ||
script: python3 setup.py sdist --formats=gztar bdist_wheel | ||
after_success: | ||
- python3 -m twine upload --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ dist/* | ||
|
||
# Deploy source distribution | ||
- stage: deploy | ||
name: Deploy to PyPI | ||
if: tag IS present | ||
install: python3 -m pip install -U setuptools wheel twine | ||
script: python3 setup.py sdist --formats=gztar bdist_wheel | ||
after_success: python3 -m twine upload --verbose --skip-existing dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"contributors": [ | ||
{ | ||
"orcid": "0000-0002-2547-8102", | ||
"affiliation": "Helmholtz Centre for Environmental Research - UFZ", | ||
"type": "Supervisor", | ||
"name": "Falk He\u00dfe" | ||
} | ||
], | ||
"license": "MIT", | ||
"creators": [ | ||
{ | ||
"orcid": "0000-0001-9060-4008", | ||
"affiliation": "Helmholtz Centre for Environmental Research - UFZ", | ||
"name": "Sebastian M\u00fcller" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
include MANIFEST.in | ||
include setup.py | ||
recursive-include ogs5py *.py | ||
recursive-include tests *.py | ||
recursive-include docs/source * | ||
include docs/Makefile docs/requirements.txt | ||
include LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
|
||
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2546767.svg)](https://doi.org/10.5281/zenodo.2546767) | ||
[![PyPI version](https://badge.fury.io/py/ogs5py.svg)](https://badge.fury.io/py/ogs5py) | ||
[![Build Status](https://travis-ci.org/GeoStat-Framework/ogs5py.svg?branch=master)](https://travis-ci.org/GeoStat-Framework/ogs5py) | ||
[![Build Status](https://travis-ci.com/GeoStat-Framework/ogs5py.svg?branch=master)](https://travis-ci.org/GeoStat-Framework/ogs5py) | ||
[![Coverage Status](https://coveralls.io/repos/github/GeoStat-Framework/ogs5py/badge.svg?branch=master)](https://coveralls.io/github/GeoStat-Framework/ogs5py?branch=master) | ||
[![Documentation Status](https://readthedocs.org/projects/ogs5py/badge/?version=latest)](https://geostat-framework.readthedocs.io/projects/ogs5py/en/latest/?badge=latest) | ||
[![Documentation Status](https://readthedocs.org/projects/ogs5py/badge/?version=stable)](https://geostat-framework.readthedocs.io/projects/ogs5py/en/stable/?badge=stable) | ||
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) | ||
|
||
<p align="center"> | ||
|
@@ -147,13 +147,12 @@ model.run_model(ogs_exe="path/to/ogs") | |
|
||
## Requirements: | ||
|
||
- [NumPy >= 1.13.0](https://www.numpy.org) | ||
- [Pandas >= 0.23.0](https://pandas.pydata.org/) | ||
- [whichcraft](https://github.com/pydanny/whichcraft) | ||
- [meshio](https://github.com/nschloe/meshio) | ||
- [lxml](https://github.com/lxml/lxml) | ||
- [vtk](https://vtk.org/) | ||
- [pexpect](https://github.com/pexpect/pexpect) | ||
- [NumPy >= 1.14.5](https://www.numpy.org) | ||
- [Pandas >= 0.23.2](https://pandas.pydata.org/) | ||
- [meshio >= 4.0.3; <5.0](https://github.com/nschloe/meshio) | ||
- [lxml >= 4.0; <5.0](https://github.com/lxml/lxml) | ||
- [pexpect >= 4.0; <5.0](https://github.com/pexpect/pexpect) | ||
- [vtk >= 8.1](https://vtk.org/) | ||
|
||
## Contact | ||
|
||
|
@@ -162,12 +161,12 @@ You can contact us via <[email protected]>. | |
|
||
## License | ||
|
||
[MIT][gpl_link] © 2018-2019 (inspired by Falk Hesse and Miao Jing) | ||
[MIT][gpl_link] © 2018-2020 (inspired by Falk Hesse and Miao Jing) | ||
|
||
This project is based on [OGSPY][ogspy_link]. | ||
|
||
[ogspy_link]: https://github.com/fhesze/OGSPY | ||
[gpl_link]: https://github.com/GeoStat-Framework/ogs5py/blob/master/LICENSE | ||
[ogs5_link]: https://www.opengeosys.org/ogs-5/ | ||
[doc_link]: https://geostat-framework.readthedocs.io/projects/ogs5py/en/latest/ | ||
[tut1_link]: https://geostat-framework.readthedocs.io/projects/ogs5py/en/latest/tutorial_01_pump.html | ||
[doc_link]: https://ogs5py.readthedocs.io/ | ||
[tut1_link]: https://geostat-framework.readthedocs.io/projects/ogs5py/en/stable/tutorial_01_pump.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# required for readthedocs.org | ||
numpydoc | ||
# https://stackoverflow.com/a/11704396/6696397 | ||
-r ../requirements.txt | ||
-r requirements_doc.txt | ||
-r ../requirements_setup.txt | ||
-r ../requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
numpydoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
"""Provide a central version.""" | ||
__version__ = "1.0.5" | ||
__version__ = "1.0.6.dev0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ | |
---- | ||
""" | ||
from __future__ import absolute_import | ||
|
||
from ogs5py.fileclasses.asc.core import ASC | ||
|
||
__all__ = ["ASC"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ | |
---- | ||
""" | ||
from __future__ import absolute_import | ||
|
||
from ogs5py.fileclasses.bc.core import BC | ||
|
||
__all__ = ["BC"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ | |
---- | ||
""" | ||
from __future__ import absolute_import | ||
|
||
from ogs5py.fileclasses.cct.core import CCT | ||
|
||
__all__ = ["CCT"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ | |
---- | ||
""" | ||
from __future__ import absolute_import | ||
|
||
from ogs5py.fileclasses.ddc.core import DDC | ||
|
||
__all__ = ["DDC"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ | |
---- | ||
""" | ||
from __future__ import absolute_import | ||
|
||
from ogs5py.fileclasses.fct.core import FCT | ||
|
||
__all__ = ["FCT"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.