Virtualenv and setuptools friendly version of standard GDAL python bindings
Project description
b’pygdaln======nnVirtualenv and setuptools friendly version of standard GDAL python bindings.nnThis package is for you if you had problems installing GDAL in your virtualenv. You can install GDAL into your virtualenv using this package but you still need to install GDAL library and its header files on your system. On Ubuntu it can be done this way:nn::nn $ sudo apt-get install libgdal1-devnnVersion of the same package, and GDAL, so that if you have installed GDAL 1.8.1 you need to install the version 1.8.1 of this package:nn::nn $ gdal-config –versionn 1.8.1nn $ git clone git@github.com:nextgis/pygdal.gitn $ cd pygdaln $ virtualenv –no-site-packages envn $ env/bin/pip install 1.8.1/nnOr you can install package directly from PyPi:nn::nn $ virtualenv –no-site-packages envn $ env/bin/pip install pygdal>=1.8.1.0,<=1.8.1.999nnThe trick with range of versions required to support pygdal versioning.nnOnly a small set of GDAL versions is currently supported. At this point they are: 1.8.1, 1.9.2, 1.10.0, 1.10.1, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.3.0, 2.3.1, 2.3.2. Package numpy is also listed as a dependency (using setup_requires and install_requires directives), so you do not need to install it before installing GDAL.nnIf you installed GDAL using the KyngChaos frameworks, you may need to override the default values returned by gdal-config --prefix in order to install this package. This can be accomplished by setting the GDALHOME environment variable, e.g.nn::nn $ export GDALHOME=”/Library/Frameworks/GDAL.framework/Versions/Current/unix/”n $ env/bin/pip install pygdal>=1.8.1.0,<=1.8.1.999nnAfter package is installed you can use is same way as standard GDAL bindings:nn::nn from osgeo import gdalnn’
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pygdal-2.3.2.4.tar.gz
.
File metadata
- Download URL: pygdal-2.3.2.4.tar.gz
- Upload date:
- Size: 438.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ae5980a9f0a3ad8650461e2cbd0e907c84671044288d9d1a1adb6734299a479 |
|
MD5 | 73ea782ca9b37f7db1464dbcf0cc3ff3 |
|
BLAKE2b-256 | 8c7bdf2d05fa24a15f39661f9eeeb1b6075ce28156c72a66bfbe3ffb77940778 |