Skip to content

Commit

Permalink
Merge pull request #251 from matkoniecz/patch-2
Browse files Browse the repository at this point in the history
try to make documentation easier to follow
  • Loading branch information
lonvia authored Jun 16, 2024
2 parents 8efc08c + afbe3fb commit 5df58fe
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,22 @@ pyosmium has the following dependencies:

### Compiling from Source

Get the latest versions of libosmium, protozero and pybind11. It is
recommended that you put them in a subdirectory `contrib`. You can also
set custom locations with `LIBOSMIUM_PREFIX`, `PROTOZERO_PREFIX` and
Get the latest versions of libosmium, protozero and pybind11 source code. It is
recommended that you put them in a subdirectory `contrib`.

You can do this by cloning their repositories into that location.

Following commands should achieve this:

```
mkdir contrib
cd contrib
git clone https://github.com/osmcode/libosmium.git
git clone https://github.com/mapbox/protozero.git
git clone https://github.com/pybind/pybind11.git
```

You can also set custom locations with `LIBOSMIUM_PREFIX`, `PROTOZERO_PREFIX` and
`PYBIND11_PREFIX` respectively.

To use a custom boost installation, set `BOOST_PREFIX`.
Expand Down

0 comments on commit 5df58fe

Please sign in to comment.