Skip to content
Commits on Source (6)
*.pyc
*.swp
.coverage
build
cover
dist
docs/build
docs/latex
cover
Glymur.egg-info
version: 2
build:
image: latest
conda:
environment: ci/doc.yml
python:
version: 3.7
formats: []
......@@ -2,76 +2,36 @@ language: python
matrix:
fast_finish: true
include:
- python: 2.7
env:
- JOB_NAME: "27_openjpeg15"
- JOB_TAG=opj15
- OPJ15=1
- python: 2.7
env:
- JOB_NAME "27_latest"
- JOB_TAG=latest
- python: 3.5
env:
- JOB_NAME "35_latest"
- JOB_TAG=latest
- python: 3.5
env:
- JOB_NAME "35_no_opj"
- JOB_TAG=no_opj
- python: 3.5
env:
- JOB_NAME "35_openjpeg15"
- JOB_TAG=opj15
- OPJ15=1
- python: 3.6
env:
- JOB_NAME "36_openjpeg212"
- JOB_TAG=opj212
- JOB="3.6 No OPENJPEG" ENV_FILE="ci/travis-36-no-opj.yaml"
- python: 3.6
env:
- JOB_NAME "36_openjpeg220"
- JOB_TAG=opj220
- python: 3.6
- JOB="3.6" ENV_FILE="ci/travis-36.yaml"
- python: 3.7
env:
- JOB_NAME "36_latest"
- JOB_TAG=latest
- JOB="3.7" ENV_FILE="ci/travis-37.yaml"
- python: 3.7
dist: xenial
env:
- JOB_NAME "37_latest"
- JOB_TAG=latest
- JOB="3.7" ENV_FILE="ci/travis-37-no-gdal.yaml"
- python: 3.8
dist: xenial
env:
- JOB_NAME "37_latest"
- JOB_TAG=latest
- JOB="3.8" ENV_FILE="ci/travis-38.yaml"
before_install:
- sh -c "if test $OPJ15 -eq 1; then bash ci/install_openjpeg15.sh; fi"
install:
- echo "before_install"
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- df -h
- pwd
- uname -a
- git --version
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Replace dep1 dep2 ... with your dependencies
- conda config --prepend channels conda-forge
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- conda install --file ci/requirements_"$TRAVIS_PYTHON_VERSION"_"$JOB_TAG".txt
- python setup.py install
install:
- echo "install"
- ci/setup_env.sh
- echo "install done"
script:
- python -m unittest discover
- python -c "import glymur; print(glymur.version.info)"
- echo "run script"
- ci/run_script.sh
- echo "script done"
January 15, 2020 - v0.9.1
Remove GDAL from setup.py requirements
January 14, 2020 - v0.9.0
Removed support for python2.7.
Fixed Cygwin support.
Fixed appveyor builds, Travis-CI framework reworked.
Some fragile tests removed.
November 15, 2019 - v0.8.19
Qualify on Python 3.8.
......
Metadata-Version: 1.1
Name: Glymur
Version: 0.8.19
Summary: Tools for accessing JPEG2000 files
Home-page: https://github.com/quintusdias/glymur
Author: John Evans
Author-email: john.g.evans.ne@gmail.com
License: MIT
Description: glymur: a Python interface for JPEG 2000
=========================================
**glymur** contains a Python interface to the OpenJPEG library which
allows one to read and write JPEG 2000 files. **glymur** works on
Python 2.7, 3.4, 3.5, 3.6, and 3.7.
Please read the docs, https://glymur.readthedocs.org/
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows :: Windows XP
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Information Technology
Classifier: Topic :: Software Development :: Libraries :: Python Modules
......@@ -3,6 +3,6 @@ glymur: a Python interface for JPEG 2000
**glymur** contains a Python interface to the OpenJPEG library which
allows one to read and write JPEG 2000 files. **glymur** works on
Python 2.7, 3.4, 3.5, 3.6, and 3.7.
Python 3.6 and 3.7.
Please read the docs, https://glymur.readthedocs.org/
Please read the docs, https://glymur.readthedocs.org/en/latest/
......@@ -12,30 +12,23 @@ environment:
matrix:
- CONDA_ROOT: "C:\\Miniconda3_64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
CONDA_PY: "37"
CONDA_NPY: "115"
- CONDA_ROOT: "C:\\Miniconda3_64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
CONDA_PY: "36"
CONDA_NPY: "115"
CONDA_NPY: "117"
- CONDA_ROOT: "C:\\Miniconda3_64"
PYTHON_VERSION: "2.7"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
CONDA_PY: "27"
CONDA_NPY: "110"
CONDA_PY: "37"
CONDA_NPY: "117"
- CONDA_ROOT: "C:\\Miniconda3_64"
PYTHON_VERSION: "3.5"
PYTHON_VERSION: "3.8"
PYTHON_ARCH: "64"
CONDA_PY: "35"
CONDA_NPY: "115"
CONDA_PY: "38"
CONDA_NPY: "117"
# We always use a 64-bit machine, but can build x86 distributions
# with the PYTHON_ARCH variable (which is used by CMD_IN_ENV).
......@@ -68,18 +61,15 @@ install:
- cmd: conda update -q conda
- cmd: conda config --set ssl_verify false
- cmd: conda config --add channels conda-forge
# this is now the downloaded conda...
- cmd: conda info -a
# create our env
- cmd: conda create -q -n glymur python=%PYTHON_VERSION% lxml
- cmd: activate glymur
- SET REQ=ci\requirements_%PYTHON_VERSION%_latest.txt
- SET REQ=ci\travis-%CONDA_PY%.yaml
- cmd: echo "installing requirements from %REQ%"
- cmd: conda install -n glymur -q --file=%REQ%
- cmd: conda env create --file=%REQ%
- cmd: conda list -n glymur
- cmd: activate glymur
- cmd: echo "installing requirements from %REQ% - done"
# build em using the local source checkout in the correct windows env
......@@ -87,5 +77,9 @@ install:
test_script:
# tests
- cmd: activate glymur
- cmd: python -m unittest discover
- cmd: conda activate glymur
- cmd: conda list
- cmd: cd c:\projects\glymur
- ls -ltr
- cmd: python -c "import sys; print(sys.executable)"
- cmd: c:\miniconda3_64\envs\glymur\python -m unittest discover -v
name: glymur-docs
channels:
- conda-forge
dependencies:
- python=3.7
- numpydoc>=0.8
- sphinx_rtd_theme>=0.4.2
- mock>=2.0.0
- contextlib2>=0.5.5
#!/bin/sh
# Install openjpeg library version 1.5
# Bail out if any errors arise.
set -e
# Compile openjpeg from source, install into home directory.
wget https://github.com/uclouvain/openjpeg/archive/version.1.5.2.tar.gz
tar xvfz version.1.5.2.tar.gz
mkdir -p openjpeg-version.1.5.2/build
cd openjpeg-version.1.5.2/build && cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/openjpeg && make && make install
# Setup the configuration file.
mkdir -p $HOME/.config/glymur
cat << EOF > $HOME/.config/glymur/glymurrc
[library]
openjpeg: $HOME/openjpeg/lib/libopenjpeg.so
EOF
contextlib2
gdal<3.0.0
importlib_resources
libgdal
lxml
mock
numpy
openjpeg
pathlib2
scikit-image
importlib_resources
numpy
pathlib2
scikit-image
importlib_resources
gdal<3.0.0
lxml
numpy
openjpeg
scikit-image
importlib_resources
numpy
scikit-image
importlib_resources
numpy
gdal<3.0.0
lxml
scikit-image
importlib_resources
numpy
openjpeg
lxml
scikit-image
importlib_resources
numpy
openjpeg=2.1.2
lxml
scikit-image
importlib_resources
numpy
openjpeg=2.2.0
lxml
scikit-image
numpy
openjpeg<3.0.0
lxml
scikit-image
gdal<3.0.0
lxml
numpy
openjpeg
scikit-image