From bac4c32f7cd8b897ae72edb89a33071aa0492b21 Mon Sep 17 00:00:00 2001 From: Kai Chen <chenkaidev@gmail.com> Date: Sun, 7 Oct 2018 16:00:30 +0800 Subject: [PATCH] fix setup.py to include .so files --- setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 02dede7..81dd749 100644 --- a/setup.py +++ b/setup.py @@ -88,7 +88,9 @@ if __name__ == '__main__': description='Open MMLab Detection Toolbox', long_description=readme(), keywords='computer vision, object detection', + url='https://github.com/open-mmlab/mmdetection', packages=find_packages(), + package_data={'mmdet.ops': ['*/*.so']}, classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', @@ -99,10 +101,11 @@ if __name__ == '__main__': 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', - 'Topic :: Utilities', ], license='GPLv3', setup_requires=['pytest-runner'], tests_require=['pytest'], - install_requires=['numpy', 'matplotlib', 'six', 'terminaltables'], + install_requires=[ + 'numpy', 'matplotlib', 'six', 'terminaltables', 'pycocotools' + ], zip_safe=False) -- GitLab