Skip to content

Commit 48973e7

Browse files
committed
docs: update installation instructions
1 parent 4b17d2f commit 48973e7

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

docs/index.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,31 @@ the following additional dependencies need to be available:
2525
* [libosmium](https://github.com/osmcode/libosmium) >= 2.16.0
2626
* [protozero](https://github.com/mapbox/protozero)
2727
* [cmake](https://cmake.org/)
28-
* [Pybind11](https://github.com/pybind/pybind11) >= 2.2
2928
* [expat](https://libexpat.github.io/)
3029
* [libz](https://www.zlib.net/)
3130
* [libbz2](https://www.sourceware.org/bzip2/)
3231
* [Boost](https://www.boost.org/) variant and iterator >= 1.41
3332
* [Python Requests](https://docs.python-requests.org/en/master/)
34-
* Python setuptools
3533
* a recent C++ compiler (Clang 3.4+, GCC 4.8+)
3634

35+
The following additional dependencies are automatically installed as part
36+
of the build process:
37+
38+
* [scikit-build-core](https://scikit-build-core.readthedocs.io/en/latest/)
39+
* [Pybind11](https://github.com/pybind/pybind11)
40+
3741
On Debian/Ubuntu-like systems, the following command installs all required
3842
packages:
3943

4044
sudo apt-get install python3-dev build-essential cmake libboost-dev \
4145
libexpat1-dev zlib1g-dev libbz2-dev
4246

43-
libosmium, protozero and pybind11 are shipped with the source wheel. When
44-
building from source, you need to download the source code and put it
45-
in the subdirectory 'contrib'. Alternatively, if you want to put the sources
46-
somewhere else, point pyosmium to the source code location by setting the
47-
CMake variables `LIBOSMIUM_PREFIX`, `PROTOZERO_PREFIX` and
48-
`PYBIND11_PREFIX` respectively.
47+
Compatible versions of libosmium and protozero are shipped with the source
48+
wheel. When building from source, you need to download the source code of these
49+
two libraries and put it in the subdirectory 'contrib'. Alternatively,
50+
if you already have the sources somewhere else,
51+
point pyosmium to the source code location by setting the
52+
CMake variables `Libosmium_ROOT` and `Protozero_ROOT`.
4953

5054
To compile and install the bindings, run
5155

0 commit comments

Comments
 (0)