-
Notifications
You must be signed in to change notification settings - Fork 5
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 #2 from GeoStat-Framework/develop
1.0.0 release
- Loading branch information
Showing
29 changed files
with
408 additions
and
129 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[run] | ||
source = anaflow | ||
omit = *docs*, *examples*, *tests* | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
if __name__ == '__main__': | ||
def __repr__ | ||
def __str__ | ||
|
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,54 +1,81 @@ | ||
language: python | ||
python: 3.8 | ||
|
||
matrix: | ||
include: | ||
- name: "Linux py27" | ||
sudo: required | ||
language: python | ||
python: 2.7 | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp27-*" | ||
- COVER="off" | ||
|
||
- name: "Linux py36" | ||
sudo: required | ||
language: python | ||
python: 3.6 | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp36-*" | ||
- COVER="on" | ||
# 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 | ||
|
||
script: | ||
# create wheels | ||
- $PIP install cibuildwheel==0.10.1 | ||
- cibuildwheel --output-dir wheelhouse | ||
# create source dist for pypi and create coverage (only once for linux py3.6) | ||
- | | ||
if [[ $COVER == "on" ]]; then | ||
rm -rf dist | ||
python setup.py sdist | ||
fi | ||
after_success: | ||
# pypi upload (test allways and official on TAG) | ||
- python -m pip install twine | ||
- python -m twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ wheelhouse/*.whl | ||
- python -m twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*.tar.gz | ||
- | | ||
if [[ $TRAVIS_TAG ]]; then | ||
python -m twine upload --skip-existing wheelhouse/*.whl | ||
python -m twine upload --skip-existing dist/*.tar.gz | ||
fi | ||
- CIBW_BUILD="cp35-* cp36-* cp37-* cp38-*" | ||
# update setuptools to latest version | ||
- CIBW_BEFORE_BUILD="pip install -U setuptools" | ||
# testing with cibuildwheel | ||
- CIBW_TEST_REQUIRES=pytest | ||
- CIBW_TEST_COMMAND="pytest -v {project}/tests" | ||
|
||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
|
||
before_install: | ||
- | | ||
if [[ "$TRAVIS_OS_NAME" = windows ]]; then | ||
choco install python --version 3.8.0 | ||
export PATH="/c/Python38:/c/Python38/Scripts:$PATH" | ||
# make sure it's on PATH as 'python3' | ||
ln -s /c/Python38/python.exe /c/Python38/python3.exe | ||
fi | ||
install: | ||
- python3 -m pip install cibuildwheel==1.3.0 | ||
|
||
script: | ||
- python3 -m cibuildwheel --output-dir tmp_dist | ||
|
||
stages: | ||
- test | ||
- coverage | ||
- name: deploy | ||
if: (NOT type IN (pull_request)) AND (repo = GeoStat-Framework/AnaFlow) | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
name: Test on Linux | ||
services: docker | ||
- stage: test | ||
name: Test on MacOS | ||
os: osx | ||
language: generic | ||
- stage: test | ||
name: Test on Windows | ||
os: windows | ||
language: shell | ||
|
||
- stage: coverage | ||
name: Coverage on Linux | ||
services: docker | ||
install: python3 -m pip install .[test] coveralls | ||
script: | ||
- python3 -m pytest --cov anaflow --cov-report term-missing -v tests/ | ||
- python3 -m coveralls | ||
|
||
# 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,20 @@ | ||
{ | ||
"license": "MIT", | ||
"language": "eng", | ||
"keywords": [ | ||
"Groundwater flow equation", | ||
"Groundwater", | ||
"Pumping test", | ||
"Pump test", | ||
"Aquifer analysis", | ||
"Python", | ||
"GeoStat-Framework" | ||
], | ||
"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
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,9 @@ | ||
include README.md | ||
include MANIFEST.in | ||
include setup.py | ||
include setup.cfg | ||
recursive-include anaflow *.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,8 +2,8 @@ | |
|
||
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1135723.svg)](https://doi.org/10.5281/zenodo.1135723) | ||
[![PyPI version](https://badge.fury.io/py/anaflow.svg)](https://badge.fury.io/py/anaflow) | ||
[![Build Status](https://travis-ci.org/GeoStat-Framework/AnaFlow.svg?branch=master)](https://travis-ci.org/GeoStat-Framework/AnaFlow) | ||
[![Documentation Status](https://readthedocs.org/projects/docs/badge/?version=latest)](https://anaflow.readthedocs.io/en/latest/) | ||
[![Build Status](https://travis-ci.com/GeoStat-Framework/AnaFlow.svg?branch=master)](https://travis-ci.com/GeoStat-Framework/AnaFlow) | ||
[![Documentation Status](https://readthedocs.org/projects/docs/badge/?version=stable)](https://anaflow.readthedocs.io/en/stable/) | ||
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) | ||
|
||
<p align="center"> | ||
|
@@ -90,7 +90,7 @@ inverse laplace-transformation of a given function | |
|
||
- [NumPy >= 1.14.5](https://www.numpy.org) | ||
- [SciPy >= 1.1.0](https://www.scipy.org) | ||
- [pentapy](https://github.com/GeoStat-Framework/pentapy) | ||
- [pentapy >= 1.1.0](https://github.com/GeoStat-Framework/pentapy) | ||
|
||
|
||
## Contact | ||
|
@@ -100,7 +100,7 @@ You can contact us via <[email protected]>. | |
|
||
## License | ||
|
||
[MIT][mit_link] © 2019 | ||
[MIT][mit_link] © 2019 - 2020 | ||
|
||
[mit_link]: https://github.com/GeoStat-Framework/AnaFlow/blob/master/LICENSE | ||
[doc_link]: https://geostat-framework.readthedocs.io/projects/anaflow/en/latest/ | ||
[doc_link]: https://anaflow.readthedocs.io |
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 was deleted.
Oops, something went wrong.
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
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
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,5 +1,3 @@ | ||
#required for readthedocs.org | ||
numpy>=1.14.5 | ||
scipy>=1.1.0 | ||
pentapy | ||
numpydoc | ||
-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
Oops, something went wrong.