mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 08:46:40 +08:00
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.
This commit is contained in:
parent
db836fad63
commit
d4ef245fdc
@ -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:
|
||||
|
||||
1
script/requirements.txt
Normal file
1
script/requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
wikipedia
|
||||
Loading…
x
Reference in New Issue
Block a user