Name Description Size
__init__.py 586
__main__.py Generates rules for building ICU binary data files from text and other input files in source control. Use the --mode option to declare how to execute those rules, either exporting the rules to a Makefile or spawning child processes to run them immediately: --mode=gnumake prints a Makefile to standard out. --mode=unix-exec spawns child processes in a Unix-like environment. --mode=windows-exec spawns child processes in a Windows-like environment. Tips for --mode=unix-exec ========================= Create two empty directories for out_dir and tmp_dir. They will get filled with a lot of intermediate files. Set LD_LIBRARY_PATH to include the lib directory. e.g., from icu4c/source: $ LD_LIBRARY_PATH=lib PYTHONPATH=python python3 -m icutools.databuilder ... Once icutools.databuilder finishes, you have compiled the data, but you have not packaged it into a .dat or .so file. This is done by the separate pkgdata tool in bin. Read the docs of pkgdata: $ LD_LIBRARY_PATH=lib ./bin/pkgdata --help Example command line to call pkgdata: $ LD_LIBRARY_PATH=lib ./bin/pkgdata -m common -p icudt63l -c \\ -O data/icupkg.inc -s $OUTDIR -d $TMPDIR $TMPDIR/icudata.lst where $OUTDIR and $TMPDIR are your out and tmp directories, respectively. The above command will create icudt63l.dat in the tmpdir. Command-Line Arguments ====================== 13129
comment_stripper.py Removes lines starting with "//" from a file stream. 1710
filtration.py Match iff any of the sub-filters match. 15448
filtration_schema.json 7353
renderers
request_types.py Returns True if this request still has input files after filtering, or False if the request is "empty" after filtering. 13058
test
utils.py A list that joins itself with spaces when converted to a string. 4196