Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
arosics
Commits
f197b750
Commit
f197b750
authored
Nov 21, 2017
by
Daniel Scheffler
Browse files
Merge branch 'master' into feature/add_quiverplot
parents
fdf49222
89e17e1c
Changes
6
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f197b750
...
@@ -19,8 +19,8 @@ stages:
...
@@ -19,8 +19,8 @@ stages:
test_arosics
:
test_arosics
:
stage
:
test
stage
:
test
script
:
script
:
-
source /root/
ana
conda3/bin/activate
-
source /root/
mini
conda3/bin/activate
-
export GDAL_DATA=/root/
ana
conda3/share/gdal
-
export GDAL_DATA=/root/
mini
conda3/share/gdal
-
export PYTHONPATH=$PYTHONPATH:/root
# /root <- directory needed later
-
export PYTHONPATH=$PYTHONPATH:/root
# /root <- directory needed later
-
make nosetests
-
make nosetests
-
make docs
-
make docs
...
@@ -36,8 +36,8 @@ test_arosics:
...
@@ -36,8 +36,8 @@ test_arosics:
test_styles
:
test_styles
:
stage
:
test
stage
:
test
script
:
script
:
-
source /root/
ana
conda3/bin/activate
-
source /root/
mini
conda3/bin/activate
-
export GDAL_DATA=/root/
ana
conda3/share/gdal
-
export GDAL_DATA=/root/
mini
conda3/share/gdal
-
export PYTHONPATH=$PYTHONPATH:/root
# /root <- directory needed later
-
export PYTHONPATH=$PYTHONPATH:/root
# /root <- directory needed later
-
make lint
-
make lint
artifacts
:
artifacts
:
...
@@ -51,8 +51,8 @@ test_styles:
...
@@ -51,8 +51,8 @@ test_styles:
test_arosics_install
:
test_arosics_install
:
stage
:
test
stage
:
test
script
:
script
:
-
source /root/
ana
conda3/bin/activate
-
source /root/
mini
conda3/bin/activate
-
export GDAL_DATA=/root/
ana
conda3/share/gdal
-
export GDAL_DATA=/root/
mini
conda3/share/gdal
-
conda create -y -q --name arosics python=3
-
conda create -y -q --name arosics python=3
-
source activate arosics
-
source activate arosics
# resolve some requirements with conda
# resolve some requirements with conda
...
@@ -106,7 +106,7 @@ deploy_pypi:
...
@@ -106,7 +106,7 @@ deploy_pypi:
dependencies
:
dependencies
:
-
test_arosics
-
test_arosics
script
:
# Configure the PyPI credentials, then push the package, and cleanup the creds.
script
:
# Configure the PyPI credentials, then push the package, and cleanup the creds.
-
source /root/
ana
conda3/bin/activate
-
source /root/
mini
conda3/bin/activate
-
mkdir -p public/images/
-
mkdir -p public/images/
-
cp -r docs/images/* public/images/
-
cp -r docs/images/* public/images/
-
printf "[distutils]\nindex-servers =\n pypi\n\n" >> ~/.pypirc
-
printf "[distutils]\nindex-servers =\n pypi\n\n" >> ~/.pypirc
...
...
arosics/__init__.py
View file @
f197b750
...
@@ -12,8 +12,8 @@ from arosics.Tie_Point_Grid import Tie_Point_Grid
...
@@ -12,8 +12,8 @@ from arosics.Tie_Point_Grid import Tie_Point_Grid
__author__
=
"""Daniel Scheffler"""
__author__
=
"""Daniel Scheffler"""
__email__
=
'daniel.scheffler@gfz-potsdam.de'
__email__
=
'daniel.scheffler@gfz-potsdam.de'
__version__
=
'0.
6.9
'
__version__
=
'0.
7.0
'
__versionalias__
=
'2017-11-
16
_0
2
'
__versionalias__
=
'2017-11-
20
_0
1
'
__all__
=
[
'COREG'
,
__all__
=
[
'COREG'
,
'COREG_LOCAL'
,
'COREG_LOCAL'
,
'DESHIFTER'
,
'DESHIFTER'
,
...
...
setup.py
View file @
f197b750
...
@@ -28,7 +28,7 @@ test_requirements = requirements + ['coverage', 'nose', 'nose-htmloutput', 'redn
...
@@ -28,7 +28,7 @@ test_requirements = requirements + ['coverage', 'nose', 'nose-htmloutput', 'redn
setup
(
setup
(
name
=
'arosics'
,
name
=
'arosics'
,
version
=
'0.
6.9
'
,
version
=
'0.
7.0
'
,
description
=
"An Automated and Robust Open-Source Image Co-Registration Software for Multi-Sensor Satellite Data"
,
description
=
"An Automated and Robust Open-Source Image Co-Registration Software for Multi-Sensor Satellite Data"
,
long_description
=
readme
+
'
\n\n
'
+
history
,
long_description
=
readme
+
'
\n\n
'
+
history
,
author
=
"Daniel Scheffler"
,
author
=
"Daniel Scheffler"
,
...
...
tests/CI_docker/build_arosics_testsuite_image.sh
View file @
f197b750
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
context_dir
=
"./context"
context_dir
=
"./context"
dockerfile
=
"arosics_ci.docker"
dockerfile
=
"arosics_ci.docker"
tag
=
"arosics_ci:0.6.
9
"
tag
=
"arosics_ci:0.6.
10
"
gitlab_runner
=
"arosics_gitlab_CI_runner"
gitlab_runner
=
"arosics_gitlab_CI_runner"
echo
"#### Build runner docker image"
echo
"#### Build runner docker image"
...
...
tests/CI_docker/context/arosics_ci.docker
View file @
f197b750
FROM
centos:7
FROM
gms_base_centos:pinned_v0.1
# matplotlib requires freetype, freetype-devel, libpng-devel under centos
# scikit-image requires blas-devel, lapack-devel, atlas-devel under centos
RUN
yum update
-y
&&
\
yum
install
-y
wget vim bzip2 gcc gcc-c++ make libgl1-mesa-glx mesa-libGL qt5-qtbase-gui git freetype
\
freetype-devel libpng-devel blas-devel lapack-devel atlas-devel
ENV
anaconda_dl 'Anaconda3-5.0.0-Linux-x86_64.sh'
RUN
/bin/bash
-i
-c
"cd /root; wget https://repo.continuum.io/archive/
$anaconda_dl
;
\
bash -i /root/
$anaconda_dl
-b ;
\
rm -f /root/
$anaconda_dl
"
# 'conda install --yes -c conda-forge 'icu=58.*' lxml' fixing a bug for conda-forge gdal build, as of 06/2017
# holoviews and bokeh is only needed for geoarray because its not installable via pip during geoarray.setup.py
RUN
/bin/bash
-i
-c
"source /root/anaconda3/bin/activate ;
\
conda install --yes pyqt;
\
conda install --yes -c conda-forge pyfftw=0.10.4 ;
\
conda install --yes -c ioam holoviews bokeh ;
\
conda install --yes -c conda-forge numpy gdal scikit-image matplotlib pyproj rasterio shapely basemap pykrige geopandas;
\
conda install --yes -c conda-forge 'icu=58.*' lxml ;
\
pip install dicttoxml jsmin cerberus pyprind pint iso8601 tqdm mpld3 sphinx-argparse
\
geoarray>=0.6.12 py_tools_ds>=0.12.1 plotly flake8 pycodestyle pylint pydocstyle coverage nose nose2
\
nose-htmloutput rednose"
# must include all the requirements needed to build the docs!
# copy some needed stuff to /root
# copy some needed stuff to /root
#COPY *.pkl /root/ # EXAMPLE
COPY
*.yml /root/
#COPY *.h5 /root/ # EXAMPLE
# install git lfs
RUN
/bin/bash
-i
-c
"curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | bash"
# installing git large file support, see here: https://git-lfs.github.com/ , change version number below for future upgrades
ENV
git_lfs_v='2.1.1'
RUN
/bin/bash
-i
-c
"wget https://github.com/git-lfs/git-lfs/releases/download/v
${
git_lfs_v
}
/git-lfs-linux-amd64-
${
git_lfs_v
}
.tar.gz;
\
tar -zxvf git-lfs-linux-amd64-
${
git_lfs_v
}
.tar.gz;
\
cd git-lfs-
${
git_lfs_v
}
;
\
bash ./install.sh"
# set matplotlib backend to Agg as default, Qt won't work in headless docker containers
RUN
/bin/bash
-i
-c
"
\
RUN
bash
-i
-c
'source /root/anaconda3/bin/activate;
\
source /root/miniconda3/bin/activate ;
\
sed -i "/backend : tkagg/c\backend : Agg" $(python -c "import matplotlib; print(matplotlib.matplotlib_fname())");
\
conda env update -n root -f /root/environment_arosics.yml"
sed -i "/backend : Qt4Agg/c\backend : Agg" $(python -c "import matplotlib; print(matplotlib.matplotlib_fname())");
\
sed -i "/backend : qt5agg/c\backend : Agg" $(python -c "import matplotlib; print(matplotlib.matplotlib_fname())")'
tests/CI_docker/context/environment_arosics.yml
0 → 100644
View file @
f197b750
name
:
arosics
channels
:
&id1
-
http://conda.anaconda.org/ioam
# only for holoviews
-
http://conda.anaconda.org/conda-forge
dependencies
:
-
python=3.*.*
-
pyqt
-
numpy
-
gdal
-
scikit-image
-
rasterio
-
pyproj
-
lxml
-
geopandas
-
ipython
-
shapely
-
matplotlib
-
basemap
-
holoviews
-
bokeh
-
pykrige
-
pip
:
-
dicttoxml
-
jsmin
-
cerberus
-
pyprind
-
pint
-
iso8601
-
tqdm
-
mpld3
-
sphinx-argparse
-
six
-
spectral
-
flake8
-
pycodestyle
-
pylint
-
pydocstyle
-
nose
-
nose2
-
nose-htmloutput
-
coverage
-
rednose
-
cmocean
-
plotly
-
geoarray>=0.6.16
-
py_tools_ds>=0.12.1
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment