From d4ef245fdcffa60039e1a188b666e01cf9f91e91 Mon Sep 17 00:00:00 2001 From: Jehan Date: Sun, 18 Dec 2022 17:27:38 +0100 Subject: [PATCH] script: add a requirements.txt for our generation script. It will make it easier to follow any dependency change as it is kinda a standard file in Python projects. Of course, it's not a dependency to uchardet itself, only for the generation script (so for developers only), which is why I put it inside the script/ folder. --- script/README | 3 +++ script/requirements.txt | 1 + 2 files changed, 4 insertions(+) create mode 100644 script/requirements.txt diff --git a/script/README b/script/README index a49ee23..2b19c26 100644 --- a/script/README +++ b/script/README @@ -40,6 +40,9 @@ The important name in the charset file are: You must install Python 3 and the [`Wikipedia` Python tool](https://github.com/goldsmith/Wikipedia). +If requirements change, these will be updated in `requirements.txt`, so that you +can just run `pip3 install -r requirements.txt`. + ## Run script ## Let's say you added (or modified) support for French (`fr`), run: diff --git a/script/requirements.txt b/script/requirements.txt new file mode 100644 index 0000000..e2589d2 --- /dev/null +++ b/script/requirements.txt @@ -0,0 +1 @@ +wikipedia