mirror of https://github.com/open-mmlab/mmocr.git
[Fix] typo in setup.py (#1095)
parent
4f36bcd1aa
commit
d669ce2e82
4
setup.py
4
setup.py
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue