[fix] Base data dir path
This commit is contained in:
@@ -4,7 +4,8 @@ import sys
|
|||||||
this_dir = os.path.realpath(os.path.dirname(__file__))
|
this_dir = os.path.realpath(os.path.dirname(__file__))
|
||||||
sys.path.append(os.path.realpath(os.path.join(os.pardir, os.pardir)))
|
sys.path.append(os.path.realpath(os.path.join(os.pardir, os.pardir)))
|
||||||
|
|
||||||
UNICODE_DATA_DIR = os.path.join(this_dir, os.pardir, os.pardir, os.pardir,
|
DATA_DIR = os.path.join(this_dir, os.pardir, os.pardir, os.pardir, 'data')
|
||||||
'data', 'unicode')
|
|
||||||
|
UNICODE_DATA_DIR = os.path.join(DATA_DIR, 'unicode')
|
||||||
|
|
||||||
CLDR_DIR = os.path.join(UNICODE_DATA_DIR, 'cldr')
|
CLDR_DIR = os.path.join(UNICODE_DATA_DIR, 'cldr')
|
||||||
|
|||||||
Reference in New Issue
Block a user