diff options
author | Jehan <jehan@girinstud.io> | 2022-12-18 17:27:38 +0100 |
---|---|---|
committer | Jehan <jehan@girinstud.io> | 2022-12-18 17:27:38 +0100 |
commit | d4ef245fdcffa60039e1a188b666e01cf9f91e91 (patch) | |
tree | 35e09fcddb2b69035c4137e61a67f767f43b2367 | |
parent | db836fad63e8a89e02d27999a72d61dde37617e8 (diff) |
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.
-rw-r--r-- | script/README | 3 | ||||
-rw-r--r-- | script/requirements.txt | 1 |
2 files changed, 4 insertions, 0 deletions
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 |