Introduction
Official mapnik bindings repackaged in the setuptools/distutils way to facilitate & industrialize deployments. Because mapnik2 is not stabilized yet, the last version part reflect the svn revision of mapnik2 upon which the bindings are linked to.
Repository
Credits
Companies
Contributors
kiorky <kiorky@cryptelium.net>
Installation
Prerequisites
Don’t forget that you can play with LDFLAGS/CFLAGS/LD_LIBRARY_PATH dto indicate non standart locations for the following requirements if it applies.
You will have to have the includes and libraries for
The new mapnik-config utility to be in your $PATH
Boost_python linked to your python interpreter If it is not installed in standart envionments, you ll have to handle the CFLAGS/LDFLAGS to find it, or use minitage ;)
cairo / cairomm (optionnal but enabled if you compiled mapnik with cairo support)
mapnik2
The current python interpreter
Easy_install with or without virtualenv
Say where to find mapnik-config by settings correctly your PATH environment variable
When you’re reading this you have probably already run easy_install mapnik2. Find out how to install setuptools (and EasyInstall) here: http://peak.telecommunity.com/DevCenter/EasyInstall
virtualenv --no-site-packages test source test/bin/activate easy_install mapnik2
If your boost python installation is not in a standart place, just set the [LD_LIBRARY_PATH, LDFLAGS, CFLAGS] to find it.
Buildout
Some developers use buildout to ease deployments. * Say where to find mapnik-config by settings correctly your PATH environment variable * Add mapnik to the list of eggs to install, e.g.
[buildout]
parts = somepart
[somepart]
recipe = minitage.recipe.scripts
...
# (options like include dirs)
...
eggs =
...
mapnik2
Re-run buildout, e.g. with:
$ ./bin/buildout
You can read the buildout installation shipped with this egg for inspiration.
Minitage
Some developers use minitage to ease deployments (a layer upon buildout). Indeed, it takes care a lot of things like those boring compilation flags. As an example, to work on this egg in development mode, you can boostrap it by doing this::
easy_install -U virtualenv virtualenv --no-site-packages --distribute ~/minitage mkdir ~/minitage/others source ~/minitage/bin/activate minimerge -s
To install the minilay for the mapnik2 egg development you can do
cd ~/minitage/others git clone https://github.com/mapnik/pymapnik2.git mapnik-egg ln -fs ~/minitage/others/mapnik-egg/minilays/mapnik-egg/ ~/minitage/minilays/mapnik-egg minimerge -av mapnik-egg
Enjoy your installation
cd ~/minitage/others/mapnik-egg ./bin/mypy >>> import mapnik2
Changelog for mapnik2
2.0_r2615 (2011-02-25)
First public release of mapnik2 eggified python bindings
Metadata
Release files for mapnik2 2.0-r2615
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mapnik2-2.0-r2615.tar.gz | 1.3 MB | Without provenance | Details for mapnik2-2.0-r2615.tar.gz |
Release files / mapnik2-2.0-r2615.tar.gz
| Download URL | mapnik2-2.0-r2615.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e35f34388dc305d01c0105d020805f69dc49a3e2db06a6522a20af2c705b92e5
|
|
BLAKE2b-256 checksum How to use checksums |
fee292ae861862cbda8ee519c601d72d7ee31574cf9cc3b852bccb241bdb4294
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mapnik2 2.0-r2615
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.