@@ -34,17 +34,37 @@ but it is not officially supported.
3434
3535** Download and extract [ the latest release zip ` dwh-migration-tools-vX.X.X.zip ` ] ( https://github.com/google/dwh-migration-tools/releases/latest ) .**
3636
37- Python &ge ; 3.7.2 is required, as well as the additional local dependencies
38- ` pkg-config ` and ` libicu-dev ` . Typical commands for installing these
39- dependencies on a Debian-based Linux distribution such as Ubuntu would be:
37+ ### Python
38+
39+ Python &ge ; 3.7.2 is required.
40+ You can check whether you have a recent enough version of Python installed by
41+ running the command ` python3 --version ` .
42+
43+ You must also have the Python ` pip ` and ` venv ` modules installed. Altogether,
44+ the distribution-specific commands to install these are:
45+
46+ * Debian-based distros: ` sudo apt install python3-pip python3-venv `
47+ * Red Hat-based distros: ` sudo yum install python38 python38-pip ` (for e.g. Python
48+ 3.8)
49+
50+ ### Support for Encodings other than UTF-8
51+
52+ If all of the files you wish to translate are UTF-8 encoded
53+ (this is commonly the case), you can skip this section.
54+ Otherwise, you will need to install additional system dependencies:
55+
56+ * Debian-based distros: ` sudo apt install pkg-config libicu-dev `
57+ * RedHat-based distros: `sudo yum install gcc gcc-c++ libicu-devel
58+ python38-devel`
59+
60+ ** You must also remember** , upon reaching the step to ` pip install ` further down
61+ in the Quickstart section below, to use this command instead:
4062
4163``` shell
42- sudo apt update
43- sudo apt install -y python3-pip python3-venv pkg-config libicu-dev
64+ pip install ../dwh-migration-tools/client[icu]
4465```
4566
46- You can check whether you have a recent enough version of Python installed by
47- running the command ` python3 --version ` .
67+ ### GCP
4868
4969You need a GCP project and a Google Cloud Storage bucket to use for uploading
5070your input SQL files and downloading the translated output. [ Learn how to
0 commit comments