mirror of
https://github.com/open-mmlab/mmocr.git
synced 2025-06-03 21:54:47 +08:00
[Fix] typo in setup.py (#1095)
This commit is contained in:
parent
4f36bcd1aa
commit
d669ce2e82
4
setup.py
4
setup.py
@ -16,7 +16,7 @@ version_file = 'mmocr/version.py'
|
|||||||
is_windows = sys.platform == 'win32'
|
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.
|
"""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
|
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__':
|
if __name__ == '__main__':
|
||||||
add_mim_extention()
|
add_mim_extension()
|
||||||
library_dirs = [
|
library_dirs = [
|
||||||
lp for lp in os.environ.get('LD_LIBRARY_PATH', '').split(':')
|
lp for lp in os.environ.get('LD_LIBRARY_PATH', '').split(':')
|
||||||
if len(lp) > 1
|
if len(lp) > 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user