add include_package_data to setup.py (#176)

This commit is contained in:
quincylin1 2021-05-12 22:55:50 +08:00 committed by GitHub
parent e2643df439
commit ca1ddfd6fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,6 +154,7 @@ if __name__ == '__main__':
maintainer_email='openmmlab@gmail.com',
keywords='Text Detection, OCR, KIE, NLP',
packages=find_packages(exclude=('configs', 'tools', 'demo')),
include_package_data=True,
url='https://github.com/open-mmlab/mmocr',
package_data={'mmocr.ops': ['*/*.so']},
classifiers=[