From e2f8a5836d8be3c81de6c0e24d8366536459c229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= <33513211+antirotor@users.noreply.github.com> Date: Thu, 8 Apr 2021 13:24:17 +0200 Subject: [PATCH] updated web documentation --- website/docs/dev_build.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/website/docs/dev_build.md b/website/docs/dev_build.md index 01e53918d2..9523035705 100644 --- a/website/docs/dev_build.md +++ b/website/docs/dev_build.md @@ -65,23 +65,20 @@ To build pype on linux you wil need: - **[curl](https://curl.se)** on systems that doesn't have one preinstalled. - Python header files installed (**python3-dev** on Ubuntu for example). -- **[CMake](https://cmake.org/)**: to build some external openPype dependencies. -- **bzip2**, **readline** and **sqlite3** libraries. +- **bzip2**, **readline**, **sqlite3** and other libraries. Because some Linux distros come with newer Python version pre-installed, you might need to install **3.7** version and make use of it explicitly. Your best bet is probably using [pyenv](https://github.com/pyenv/pyenv). -You can use your package manager to install **git** and **cmake**. +You can use your package manager to install **git** and other packages to your build +environment. Use curl for pyenv installation :::note Install build requirements for **Ubuntu** - ```sh -sudo apt install build-essential checkinstall -sudo apt install git cmake curl -sudo apt install libbz2-dev libreadline-dev libsqlite3-dev +sudo apt-get update; sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev git ``` In case you run in error about `xcb` when running Pype, @@ -95,8 +92,7 @@ sudo apt install qt5-default :::note Install build requirements for **Centos** ```sh -sudo yum install git cmake python3-devel python3-pip -sudo yum install bzip2-devel readline-devel sqlite-devel +yum install gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel git ``` In case you run in error about `xcb` when running Pype, @@ -108,6 +104,8 @@ sudo yum install qt5-qtbase-devel ::: +For more information about setting your build environmet please refer to [pyenv suggested build environment](https://github.com/pyenv/pyenv/wiki#suggested-build-environment) + #### Common steps for all Distros Use pyenv to prepare Python version for Pype build