From effe6916d3e2ef6e356127086bdd259e435eccf9 Mon Sep 17 00:00:00 2001 From: pantonshire Date: Mon, 5 Jun 2023 11:12:48 +0100 Subject: [PATCH] move unicode_data_encoded.gz to lib --- data.py | 2 +- lib/build.rs | 2 +- .../unicode_data_encoded.gz | Bin 323382 -> 323382 bytes 3 files changed, 2 insertions(+), 2 deletions(-) rename unicode_data_encoded.gz => lib/unicode_data_encoded.gz (99%) diff --git a/data.py b/data.py index 8032ecb..88189a9 100644 --- a/data.py +++ b/data.py @@ -57,7 +57,7 @@ import http.client unicode_data_host = 'www.unicode.org' unicode_data_url_path = '/Public/UCD/latest/ucd/UnicodeData.txt' -out_data_path = 'unicode_data_encoded.gz' +out_data_path = 'lib/unicode_data_encoded.gz' class StringTableIndex: def __init__(self, bs: bytes): diff --git a/lib/build.rs b/lib/build.rs index c80209f..79d8b0e 100644 --- a/lib/build.rs +++ b/lib/build.rs @@ -1,6 +1,6 @@ use std::{env, fs::File, io, path::Path}; -const COMPRESSED_DATA_PATH: &str = "../unicode_data_encoded.gz"; +const COMPRESSED_DATA_PATH: &str = "unicode_data_encoded.gz"; const OUT_DATA_PATH: &str = "unicode_data_encoded"; fn main() -> io::Result<()> { diff --git a/unicode_data_encoded.gz b/lib/unicode_data_encoded.gz similarity index 99% rename from unicode_data_encoded.gz rename to lib/unicode_data_encoded.gz index 100b05ce3b97d1f921815001047ebe02bf29a5cd..429b460b8a4bd7a6efeecd3b950cef78bb7950d5 100644 GIT binary patch delta 29 lcmdmXPk7rsVK(`04u