mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
youseedee provides an interface to the UCD. This module allows you to query the Unicode Character Database. The main function to be imported is ucd_data.
11 lines
341 B
Python
11 lines
341 B
Python
--- lib/youseedee/__init__.py.orig 2020-10-06 16:13:22 UTC
|
|
+++ lib/youseedee/__init__.py
|
|
@@ -9,7 +9,7 @@ import csv
|
|
UCD_URL = "https://unicode.org/Public/UCD/latest/ucd/UCD.zip"
|
|
|
|
def ucd_dir():
|
|
- ucddir = os.path.expanduser("~/.youseedee")
|
|
+ ucddir = "%%UCDDIR%%"
|
|
if not os.path.isdir(ucddir):
|
|
os.mkdir(ucddir)
|
|
return ucddir
|