[Fix] typo in setup.py (#1095)

pull/1106/head
Tong Gao 2022-06-21 17:40:47 +08:00 committed by GitHub
parent 4f36bcd1aa
commit d669ce2e82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ version_file = 'mmocr/version.py'
is_windows = sys.platform == 'win32'
def add_mim_extention():
def add_mim_extension():
"""Add extra files that are required to support MIM into the package.
These files will be added by creating a symlink to the originals if the
@ -163,7 +163,7 @@ def parse_requirements(fname='requirements.txt', with_version=True):
if __name__ == '__main__':
add_mim_extention()
add_mim_extension()
library_dirs = [
lp for lp in os.environ.get('LD_LIBRARY_PATH', '').split(':')
if len(lp) > 1