Skip to main content

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==”gdal-config –version.*”nnThe trick with range of versions required to support pygdal versioning.nnThe supported versions are 1.8.1 - 3.5.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==”gdal-config –version.*”nnAfter 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

pygdal-3.6.4.11.tar.gz (487.5 kB view details)

Uploaded Source

File details

Details for the file pygdal-3.6.4.11.tar.gz.

File metadata

  • Download URL: pygdal-3.6.4.11.tar.gz
  • Upload date:
  • Size: 487.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.10

File hashes

Hashes for pygdal-3.6.4.11.tar.gz
Algorithm Hash digest
SHA256 7bc4f623412fcdabf90f8a3401c98d25921e5bd633c6165edb1916cea310affe
MD5 bc638676fdb6d1aebf4d559994a7dd92
BLAKE2b-256 554d3df0b403ae056afd3db4d36f26368d4672fa404e5f3be635d18f3363b8f2

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page