Opened 6 years ago

Closed 6 years ago

#2059 closed enhancement (fixed)

Bionic Rasterio support

Reported by: darkblueb Owned by: osgeolive@…
Priority: major Milestone: OSGeoLive12.0
Component: OSGeoLive Keywords: python
Cc:

Description

` user@live12a:~/srcs$ sudo pip install --upgrade --upgrade-strategy=only-if-needed rasterio

[sudo] password for user: XXXXXX

Collecting rasterio

Downloading https://files.pythonhosted.org/packages/59/f7/040531ab12b4a4522b7fd99eec39258b78b82c67e3adcf81f25ee4a3e544/rasterio-0.36.0.tar.gz (1.2MB)

100% |████████████████████████████████| 1.2MB 531kB/s

Collecting affine (from rasterio)

Downloading https://files.pythonhosted.org/packages/ab/9c/ae51e175215d2ea4d563207f11ba3fa6054668ceea8b44c4eaaeac8d627c/affine-2.2.0-py2.py3-none-any.whl

Collecting click-plugins (from rasterio)

Downloading https://files.pythonhosted.org/packages/77/05/da5c9e19457f20cadfe22c397cd3852577066066f63e40f2baa0831b1693/click-plugins-1.0.3.tar.gz

Collecting cligj (from rasterio)

Downloading https://files.pythonhosted.org/packages/e8/c1/d2a5a83f1bf59b820b5ffb0c63fc31d13279d7b985f260c1f8c5ca1693d0/cligj-0.4.0-py2-none-any.whl

Requirement not upgraded as not directly required: enum34 in /usr/lib/python2.7/dist-packages (from rasterio) (1.1.6) Requirement not upgraded as not directly required: numpy in /usr/lib/python2.7/dist-packages (from rasterio) (1.13.3) Collecting snuggs (from rasterio)

Downloading https://files.pythonhosted.org/packages/5c/20/0cdca0baf52e9fa58ee01230a06fa29a00225f7c80eb07b3d81c641dac91/snuggs-1.4.1-py2-none-any.whl

Collecting click>=3.0 (from click-plugins->rasterio)

Downloading https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl (71kB)

100% |████████████████████████████████| 71kB 509kB/s

Requirement not upgraded as not directly required: pyparsing in /usr/lib/python2.7/dist-packages (from snuggs->rasterio) (2.2.0) Installing collected packages: affine, click, click-plugins, cligj, snuggs, rasterio

Running setup.py install for click-plugins ... done Running setup.py install for rasterio ... done

Successfully installed affine-2.2.0 click-6.7 click-plugins-1.0.3 cligj-0.4.0 rasterio-0.36.0 snuggs-1.4.1

`

Change history (16)

comment:1 by Bas Couwenberg, 6 years ago

comment:3 by darkblueb, 6 years ago

TODO add rio executable in /usr/local/bin/

A built rasterio supplies a common and essential command line tool, which is called rio.

Make sure that there is a binary executable file called rio in the path. In an installed version of rasterio 0.36.0, it looks like this:

dbb@xii:~$ cat /usr/local/bin/rio
#!/usr/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'rasterio==0.36.0','console_scripts','rio'
__requires__ = 'rasterio==0.36.0'
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.exit(
        load_entry_point('rasterio==0.36.0', 'console_scripts', 'rio')()
    )

dbb@xii:~$ ls -lh /usr/local/bin/rio
-rwxr-xr-x 1 root root 299 Feb  6 15:31 /usr/local/bin/rio

comment:4 by darkblueb, 6 years ago

# Rasterio 1.0b1 build log

dbb@z210:/home/shared/debian-gis-team-misc/rasterio_github$ python setup.py install --user
INFO:root:GDAL API version obtained from gdal-config: 2.2.4
INFO:root:MANIFEST.in found, presume a repo, cythonizing...
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
 ...
warning: rasterio/shim_rasterioex.pxi:123:32: Use boundscheck(False) for faster access
running install
running bdist_egg
running egg_info
writing requirements to rasterio.egg-info/requires.txt
writing rasterio.egg-info/PKG-INFO
writing top-level names to rasterio.egg-info/top_level.txt
writing dependency_links to rasterio.egg-info/dependency_links.txt
writing entry points to rasterio.egg-info/entry_points.txt
reading manifest file 'rasterio.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.tif' found under directory 'tests/data'
warning: no files found matching '*.txt' under directory 'tests/data'
writing manifest file 'rasterio.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'rasterio._shim' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/include -I/usr/include/python2.7 -c rasterio/_shim.c -o build/temp.linux-x86_64-2.7/rasterio/_shim.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_shim.c:288:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^
rasterio/_shim.c: In function ‘__pyx_f_8rasterio_5_shim_open_dataset’:
rasterio/_shim.c:3796:64: warning: passing argument 3 of ‘GDALOpenEx’ from incompatible pointer type [-Wincompatible-pointer-types]
         __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_
                                                                ^
In file included from rasterio/_shim.c:282:0:
/usr/local/include/gdal.h:475:34: note: expected ‘const char * const*’ but argument is of type ‘char **’
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^
rasterio/_shim.c:3796:81: warning: passing argument 4 of ‘GDALOpenEx’ from incompatible pointer type [-Wincompatible-pointer-types]
      __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_opt
                                                                              ^
In file included from rasterio/_shim.c:282:0:
/usr/local/include/gdal.h:475:34: note: expected ‘const char * const*’ but argument is of type ‘char **’
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/rasterio/_shim.o -L/usr/local/lib -lgdal -o build/lib.linux-x86_64-2.7/rasterio/_shim.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/rasterio
copying build/lib.linux-x86_64-2.7/rasterio/fill.py -> build/bdist.linux-x86_64/egg/rasterio
 ...
copying build/lib.linux-x86_64-2.7/rasterio/compat.py -> build/bdist.linux-x86_64/egg/rasterio
creating build/bdist.linux-x86_64/egg/rasterio/rio
copying build/lib.linux-x86_64-2.7/rasterio/rio/shapes.py -> build/bdist.linux-x86_64/egg/rasterio/rio
copying build/lib.linux-x86_64-2.7/rasterio/rio/stack.py -> build/bdist.linux-x86_64/egg/rasterio/rio
copying build/lib.linux-x86_64-2.7/rasterio/rio/transform.py -> build/bdist.linux-x86_64/egg/rasterio/rio
 ...
copying build/lib.linux-x86_64-2.7/rasterio/_base.so -> build/bdist.linux-x86_64/egg/rasterio
byte-compiling build/bdist.linux-x86_64/egg/rasterio/fill.py to fill.pyc
 ...
byte-compiling build/bdist.linux-x86_64/egg/rasterio/vrt.py to vrt.pyc
creating stub loader for rasterio/_base.so
 ...
byte-compiling build/bdist.linux-x86_64/egg/rasterio/_base.py to _base.pyc
 ...
byte-compiling build/bdist.linux-x86_64/egg/rasterio/shutil.py to shutil.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying rasterio.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rasterio.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rasterio.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rasterio.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rasterio.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rasterio.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rasterio.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating dist
creating 'dist/rasterio-1.0b1-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing rasterio-1.0b1-py2.7-linux-x86_64.egg
creating /home/dbb/.local/lib/python2.7/site-packages/rasterio-1.0b1-py2.7-linux-x86_64.egg
Extracting rasterio-1.0b1-py2.7-linux-x86_64.egg to /home/dbb/.local/lib/python2.7/site-packages
Adding rasterio 1.0b1 to easy-install.pth file
Installing rio script to /home/dbb/.local/bin

Installed /home/dbb/.local/lib/python2.7/site-packages/rasterio-1.0b1-py2.7-linux-x86_64.egg
Processing dependencies for rasterio==1.0b1
Searching for click-plugins
Reading https://pypi.python.org/simple/click-plugins/
Best match: click-plugins 1.0.3
Downloading https://files.pythonhosted.org/packages/77/05/da5c9e19457f20cadfe22c397cd3852577066066f63e40f2baa0831b1693/click-plugins-1.0.3.tar.gz#sha256=7acc5e7eedd2dfd719714e8d53ae99030b5357aed661d0b06dacd6c2d583d7c5
Processing click-plugins-1.0.3.tar.gz
Writing /tmp/easy_install-i3rVZt/click-plugins-1.0.3/setup.cfg
Running click-plugins-1.0.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-i3rVZt/click-plugins-1.0.3/egg-dist-tmp-glAm5q
Moving click_plugins-1.0.3-py2.7.egg to /home/dbb/.local/lib/python2.7/site-packages
Adding click-plugins 1.0.3 to easy-install.pth file

Installed /home/dbb/.local/lib/python2.7/site-packages/click_plugins-1.0.3-py2.7.egg
Searching for snuggs>=1.4.1
Reading https://pypi.python.org/simple/snuggs/
Best match: snuggs 1.4.1
Downloading https://files.pythonhosted.org/packages/5d/a7/2628b376d794628655d13004091801f7f867366f0b08a52a741fc5bcb5fc/snuggs-1.4.1.tar.gz#sha256=e1d3c9364cec1b1b938627ebfc74f040be66711072d3ae754d844b9435f4940c
Processing snuggs-1.4.1.tar.gz
Writing /tmp/easy_install-ShHvwY/snuggs-1.4.1/setup.cfg
Running snuggs-1.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ShHvwY/snuggs-1.4.1/egg-dist-tmp-dcEpQw
creating /home/dbb/.local/lib/python2.7/site-packages/snuggs-1.4.1-py2.7.egg
Extracting snuggs-1.4.1-py2.7.egg to /home/dbb/.local/lib/python2.7/site-packages
Adding snuggs 1.4.1 to easy-install.pth file

Installed /home/dbb/.local/lib/python2.7/site-packages/snuggs-1.4.1-py2.7.egg
Searching for cligj
Reading https://pypi.python.org/simple/cligj/
Best match: cligj 0.4.0
Downloading https://files.pythonhosted.org/packages/fc/53/b89c392f33aa48b3063ad49e4dab70e424659d1fc4103b28b183f477f476/cligj-0.4.0.tar.gz#sha256=12ad07994f5c1173b06087ffbaacec52f9ebe4687926e5aacfc22b6b0c8b3f54
Processing cligj-0.4.0.tar.gz
Writing /tmp/easy_install-A9A9OM/cligj-0.4.0/setup.cfg
Running cligj-0.4.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-A9A9OM/cligj-0.4.0/egg-dist-tmp-wdl551
creating /home/dbb/.local/lib/python2.7/site-packages/cligj-0.4.0-py2.7.egg
Extracting cligj-0.4.0-py2.7.egg to /home/dbb/.local/lib/python2.7/site-packages
Adding cligj 0.4.0 to easy-install.pth file

Installed /home/dbb/.local/lib/python2.7/site-packages/cligj-0.4.0-py2.7.egg
Searching for attrs
Reading https://pypi.python.org/simple/attrs/
Best match: attrs 18.1.0
Downloading https://files.pythonhosted.org/packages/e4/ac/a04671e118b57bee87dabca1e0f2d3bda816b7a551036012d0ca24190e71/attrs-18.1.0.tar.gz#sha256=e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b
Processing attrs-18.1.0.tar.gz
Writing /tmp/easy_install-C28l6c/attrs-18.1.0/setup.cfg
Running attrs-18.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-C28l6c/attrs-18.1.0/egg-dist-tmp-QceRVt
warning: no previously-included files found matching '.github/*.md'
warning: no previously-included files found matching '.travis.yml'
no previously-included directories found matching 'docs/_build'
creating /home/dbb/.local/lib/python2.7/site-packages/attrs-18.1.0-py2.7.egg
Extracting attrs-18.1.0-py2.7.egg to /home/dbb/.local/lib/python2.7/site-packages
Adding attrs 18.1.0 to easy-install.pth file

Installed /home/dbb/.local/lib/python2.7/site-packages/attrs-18.1.0-py2.7.egg
Searching for affine
Reading https://pypi.python.org/simple/affine/
Best match: affine 2.2.0
Downloading https://files.pythonhosted.org/packages/0b/31/750da34024e1a8075cede04134789943ff166dc26ea192804bbf24194547/affine-2.2.0.tar.gz#sha256=0e56a6aaf8443366042daa4092a94907c18edf5aba22db9f5e47737b222f4b91
Processing affine-2.2.0.tar.gz
Writing /tmp/easy_install-L0t1yT/affine-2.2.0/setup.cfg
Running affine-2.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-L0t1yT/affine-2.2.0/egg-dist-tmp-ipsH2n
Moving affine-2.2.0-py2.7.egg to /home/dbb/.local/lib/python2.7/site-packages
Adding affine 2.2.0 to easy-install.pth file

Installed /home/dbb/.local/lib/python2.7/site-packages/affine-2.2.0-py2.7.egg
Searching for pyparsing
Reading https://pypi.python.org/simple/pyparsing/
Best match: pyparsing 2.2.0
Downloading https://files.pythonhosted.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz#sha256=0832bcf47acd283788593e7a0f542407bd9550a55a8a8435214a1960e04bcb04
Processing pyparsing-2.2.0.tar.gz
Writing /tmp/easy_install-51XWkn/pyparsing-2.2.0/setup.cfg
Running pyparsing-2.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-51XWkn/pyparsing-2.2.0/egg-dist-tmp-RBcBPT
zip_safe flag not set; analyzing archive contents...
Moving pyparsing-2.2.0-py2.7.egg to /home/dbb/.local/lib/python2.7/site-packages
Adding pyparsing 2.2.0 to easy-install.pth file

Installed /home/dbb/.local/lib/python2.7/site-packages/pyparsing-2.2.0-py2.7.egg
Searching for enum34==1.1.2
Best match: enum34 1.1.2
Adding enum34 1.1.2 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for numpy==1.11.0
Best match: numpy 1.11.0
numpy 1.11.0 is already the active version in easy-install.pth

Using /usr/lib/python2.7/dist-packages
Searching for click==6.7
Best match: click 6.7
Adding click 6.7 to easy-install.pth file

Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for rasterio==1.0b1

comment:5 by Bas Couwenberg, 6 years ago

Install the rasterio Debian package and symlink /usr/bin/rasterio to /usr/local/bin/rio, because there is already a package which provides /usr/bin/rio.

comment:6 by kalxas, 6 years ago

rasterio is already installed on the latest nightly.

We should link rasterio to rio as suggested above.

comment:7 by johanvdw, 6 years ago

I'll try making a rasterio 1.0 beta package for debian experimental.

We could probably also make sure the rio command works for the Osgeo live build.

We should probably consider this for debian as well as the current rio program is hardly used and orphaned (and has no upstream), and connects to a piece of archeohardware.

comment:8 by darkblueb, 6 years ago

COG Mailing list announces rio-cogeo -LINK-

install from source includes rasterio 1.0b1

-- successful build log on alpha1 into ~/.local

user@osgeolive:~/src$ git clone https://github.com/mapbox/rio-cogeo.git
Cloning into 'rio-cogeo'...
remote: Counting objects: 305, done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 305 (delta 48), reused 79 (delta 32), pack-reused 205
Receiving objects: 100% (305/305), 1.34 MiB | 449.00 KiB/s, done.
Resolving deltas: 100% (167/167), done.
user@osgeolive:~/src$ cd rio-cogeo/
user@osgeolive:~/src/rio-cogeo$ ls
LICENSE  README.rst  codecov.yml  requirements.txt  rio_cogeo/  setup.py  tests/  tox.ini
user@osgeolive:~/src/rio-cogeo$ less requirements.txt 
user@osgeolive:~/src/rio-cogeo$ python setup.py build
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools
user@osgeolive:~/src/rio-cogeo$ sudo apt install python-setuptools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  python-setuptools
0 upgraded, 1 newly installed, 0 to remove and 37 not upgraded.
Need to get 329 kB of archives.
After this operation, 1415 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-setuptools all 39.0.1-2 [329 kB]
Fetched 329 kB in 7s (50.2 kB/s)                                                                
Selecting previously unselected package python-setuptools.
(Reading database ... 234564 files and directories currently installed.)
Preparing to unpack .../python-setuptools_39.0.1-2_all.deb ...
Unpacking python-setuptools (39.0.1-2) ...
Setting up python-setuptools (39.0.1-2) ...
user@osgeolive:~/src/rio-cogeo$ 
user@osgeolive:~/src/rio-cogeo$ ls
LICENSE  README.rst  codecov.yml  requirements.txt  rio_cogeo/  setup.py  tests/  tox.ini
user@osgeolive:~/src/rio-cogeo$ python setup.py build
/usr/lib/python2.7/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing '1.0dev.1' to '1.0.dev1'
  normalized_version,
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/rio_cogeo
copying rio_cogeo/profiles.py -> build/lib.linux-x86_64-2.7/rio_cogeo
copying rio_cogeo/cogeo.py -> build/lib.linux-x86_64-2.7/rio_cogeo
copying rio_cogeo/__init__.py -> build/lib.linux-x86_64-2.7/rio_cogeo
creating build/lib.linux-x86_64-2.7/rio_cogeo/scripts
copying rio_cogeo/scripts/cli.py -> build/lib.linux-x86_64-2.7/rio_cogeo/scripts
copying rio_cogeo/scripts/__init__.py -> build/lib.linux-x86_64-2.7/rio_cogeo/scripts

user@osgeolive:~/src/rio-cogeo$ **python setup.py install --user**
/usr/lib/python2.7/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing '1.0dev.1' to '1.0.dev1'
  normalized_version,
running install
running bdist_egg
running egg_info
creating rio_cogeo.egg-info
writing requirements to rio_cogeo.egg-info/requires.txt
writing rio_cogeo.egg-info/PKG-INFO
writing top-level names to rio_cogeo.egg-info/top_level.txt
writing dependency_links to rio_cogeo.egg-info/dependency_links.txt
writing entry points to rio_cogeo.egg-info/entry_points.txt
writing manifest file 'rio_cogeo.egg-info/SOURCES.txt'
reading manifest file 'rio_cogeo.egg-info/SOURCES.txt'
writing manifest file 'rio_cogeo.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/rio_cogeo
creating build/bdist.linux-x86_64/egg/rio_cogeo/scripts
copying build/lib.linux-x86_64-2.7/rio_cogeo/scripts/__init__.py -> build/bdist.linux-x86_64/egg/rio_cogeo/scripts
copying build/lib.linux-x86_64-2.7/rio_cogeo/scripts/cli.py -> build/bdist.linux-x86_64/egg/rio_cogeo/scripts
copying build/lib.linux-x86_64-2.7/rio_cogeo/__init__.py -> build/bdist.linux-x86_64/egg/rio_cogeo
copying build/lib.linux-x86_64-2.7/rio_cogeo/cogeo.py -> build/bdist.linux-x86_64/egg/rio_cogeo
copying build/lib.linux-x86_64-2.7/rio_cogeo/profiles.py -> build/bdist.linux-x86_64/egg/rio_cogeo
byte-compiling build/bdist.linux-x86_64/egg/rio_cogeo/scripts/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/rio_cogeo/scripts/cli.py to cli.pyc
byte-compiling build/bdist.linux-x86_64/egg/rio_cogeo/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/rio_cogeo/cogeo.py to cogeo.pyc
byte-compiling build/bdist.linux-x86_64/egg/rio_cogeo/profiles.py to profiles.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying rio_cogeo.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rio_cogeo.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rio_cogeo.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rio_cogeo.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rio_cogeo.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rio_cogeo.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/rio_cogeo-1.0.dev1-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing rio_cogeo-1.0.dev1-py2.7.egg
Copying rio_cogeo-1.0.dev1-py2.7.egg to /home/user/.local/lib/python2.7/site-packages
Adding rio-cogeo 1.0.dev1 to easy-install.pth file

Installed /home/user/.local/lib/python2.7/site-packages/rio_cogeo-1.0.dev1-py2.7.egg
Processing dependencies for rio-cogeo==1.0.dev1
Searching for rasterio[s3]>=1.0b1
Reading https://pypi.python.org/simple/rasterio/
Downloading https://files.pythonhosted.org/packages/d1/46/405d3d6765519fce20e1f83b4bedd1f563c140d7b3d7111ce8506c9423a2/rasterio-1.0b1-cp27-cp27mu-manylinux1_x86_64.whl#sha256=455b5e82d362a9599574aab769c04de5ef426d65f0c241222fc26354965225fd
Best match: rasterio 1.0b1
Processing rasterio-1.0b1-cp27-cp27mu-manylinux1_x86_64.whl
Installing rasterio-1.0b1-cp27-cp27mu-manylinux1_x86_64.whl to /home/user/.local/lib/python2.7/site-packages
writing requirements to /home/user/.local/lib/python2.7/site-packages/rasterio-1.0b1-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt
Adding rasterio 1.0b1 to easy-install.pth file
Installing rio script to /home/user/.local/bin

Installed /home/user/.local/lib/python2.7/site-packages/rasterio-1.0b1-py2.7-linux-x86_64.egg
Searching for boto3>=1.2.4
Reading https://pypi.python.org/simple/boto3/
Downloading https://files.pythonhosted.org/packages/2f/e0/b9e3b23e100e0df42d3646e1d126a0f5e3d738921be142a2f0133ed502a5/boto3-1.7.37-py2.py3-none-any.whl#sha256=09f6e6e76c368c650bbd7df72a9dbb66b1fdb4ae37baf28dd8525246a4d75dd4
Best match: boto3 1.7.37
Processing boto3-1.7.37-py2.py3-none-any.whl
Installing boto3-1.7.37-py2.py3-none-any.whl to /home/user/.local/lib/python2.7/site-packages
writing requirements to /home/user/.local/lib/python2.7/site-packages/boto3-1.7.37-py2.7.egg/EGG-INFO/requires.txt
Adding boto3 1.7.37 to easy-install.pth file

Installed /home/user/.local/lib/python2.7/site-packages/boto3-1.7.37-py2.7.egg
Searching for attrs
Reading https://pypi.python.org/simple/attrs/
Downloading https://files.pythonhosted.org/packages/41/59/cedf87e91ed541be7957c501a92102f9cc6363c623a7666d69d51c78ac5b/attrs-18.1.0-py2.py3-none-any.whl#sha256=4b90b09eeeb9b88c35bc642cbac057e45a5fd85367b985bd2809c62b7b939265
Best match: attrs 18.1.0
Processing attrs-18.1.0-py2.py3-none-any.whl
Installing attrs-18.1.0-py2.py3-none-any.whl to /home/user/.local/lib/python2.7/site-packages
writing requirements to /home/user/.local/lib/python2.7/site-packages/attrs-18.1.0-py2.7.egg/EGG-INFO/requires.txt
Adding attrs 18.1.0 to easy-install.pth file

Installed /home/user/.local/lib/python2.7/site-packages/attrs-18.1.0-py2.7.egg
Searching for s3transfer<0.2.0,>=0.1.10
Reading https://pypi.python.org/simple/s3transfer/
Downloading https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl#sha256=c7a9ec356982d5e9ab2d4b46391a7d6a950e2b04c472419f5fdec70cc0ada72f
Best match: s3transfer 0.1.13
Processing s3transfer-0.1.13-py2.py3-none-any.whl
Installing s3transfer-0.1.13-py2.py3-none-any.whl to /home/user/.local/lib/python2.7/site-packages
writing requirements to /home/user/.local/lib/python2.7/site-packages/s3transfer-0.1.13-py2.7.egg/EGG-INFO/requires.txt
Adding s3transfer 0.1.13 to easy-install.pth file

Installed /home/user/.local/lib/python2.7/site-packages/s3transfer-0.1.13-py2.7.egg
Searching for jmespath<1.0.0,>=0.7.1
Reading https://pypi.python.org/simple/jmespath/
Downloading https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl#sha256=f11b4461f425740a1d908e9a3f7365c3d2e569f6ca68a2ff8bc5bcd9676edd63
Best match: jmespath 0.9.3
Processing jmespath-0.9.3-py2.py3-none-any.whl
Installing jmespath-0.9.3-py2.py3-none-any.whl to /home/user/.local/lib/python2.7/site-packages
Adding jmespath 0.9.3 to easy-install.pth file
Installing jp.py script to /home/user/.local/bin

Installed /home/user/.local/lib/python2.7/site-packages/jmespath-0.9.3-py2.7.egg
Searching for botocore<1.11.0,>=1.10.37
Reading https://pypi.python.org/simple/botocore/
Downloading https://files.pythonhosted.org/packages/0b/97/60eba2ca866d346459bfb6f95ff5b2b611d7b1b844d0733acb436d59c893/botocore-1.10.37-py2.py3-none-any.whl#sha256=5ae7db25223c9d2c30e44781d48c9c3eab93019abef39e8c3f8784d0f63825c2
Best match: botocore 1.10.37
Processing botocore-1.10.37-py2.py3-none-any.whl
Installing botocore-1.10.37-py2.py3-none-any.whl to /home/user/.local/lib/python2.7/site-packages
writing requirements to /home/user/.local/lib/python2.7/site-packages/botocore-1.10.37-py2.7.egg/EGG-INFO/requires.txt
Adding botocore 1.10.37 to easy-install.pth file

Installed /home/user/.local/lib/python2.7/site-packages/botocore-1.10.37-py2.7.egg
Searching for futures<4.0.0,>=2.2.0
Reading https://pypi.python.org/simple/futures/
Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl#sha256=ec0a6cb848cc212002b9828c3e34c675e0c9ff6741dc445cab6fdd4e1085d1f1
Best match: futures 3.2.0
Processing futures-3.2.0-py2-none-any.whl
Installing futures-3.2.0-py2-none-any.whl to /home/user/.local/lib/python2.7/site-packages
Adding futures 3.2.0 to easy-install.pth file

Installed /home/user/.local/lib/python2.7/site-packages/futures-3.2.0-py2.7.egg
Searching for snuggs==1.4.1
Best match: snuggs 1.4.1
Adding snuggs 1.4.1 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for numpy==1.13.3
Best match: numpy 1.13.3
Adding numpy 1.13.3 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for enum34==1.1.6
Best match: enum34 1.1.6
Adding enum34 1.1.6 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for cligj==0.4.0
Best match: cligj 0.4.0
Adding cligj 0.4.0 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for click-plugins==1.0.2
Best match: click-plugins 1.0.2
Adding click-plugins 1.0.2 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for affine==2.1.0
Best match: affine 2.1.0
Adding affine 2.1.0 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for python-dateutil==2.6.1
Best match: python-dateutil 2.6.1
Adding python-dateutil 2.6.1 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for docutils==0.14
Best match: docutils 0.14
Adding docutils 0.14 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for rio-cogeo==1.0.dev1
Last edited 6 years ago by darkblueb (previous) (diff)

comment:10 by darkblueb, 6 years ago

12dev beta4

command line tool rio missing

comment:11 by darkblueb, 6 years ago

Priority: normalmajor

comment:12 by johanvdw, 6 years ago

Best way to add it imho is a symlink from /usr/bin/rasterio to /usr/local/bin/rio.

ln -s /usr/bin/rasterio /usr/local/bin/rio

comment:14 by kalxas, 6 years ago

Resolution: fixed
Status: newclosed

comment:15 by darkblueb, 6 years ago

Resolution: fixed
Status: closedreopened

rasterio 1.0 is not on Bionic osgeolive12

comment:16 by kalxas, 6 years ago

Resolution: fixed
Status: reopenedclosed

rasterio 1.0.3 in 12.0rc1

Note: See TracTickets for help on using tickets.