X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=example-apps%2FPDD%2Fpcb-defect-detection%2Fdata%2Flib_coco%2FPythonAPI%2Fsetup.py;fp=example-apps%2FPDD%2Fpcb-defect-detection%2Fdata%2Flib_coco%2FPythonAPI%2Fsetup.py;h=0000000000000000000000000000000000000000;hb=3ed2c61d9d7e7916481650c41bfe5604f7db22e9;hp=dbf00930307950f57608307d3d19b68e9c292c8e;hpb=e6d40ddb2640f434a9d7d7ed99566e5e8fa60cc1;p=ealt-edge.git diff --git a/example-apps/PDD/pcb-defect-detection/data/lib_coco/PythonAPI/setup.py b/example-apps/PDD/pcb-defect-detection/data/lib_coco/PythonAPI/setup.py deleted file mode 100755 index dbf0093..0000000 --- a/example-apps/PDD/pcb-defect-detection/data/lib_coco/PythonAPI/setup.py +++ /dev/null @@ -1,27 +0,0 @@ -from setuptools import setup, Extension -import numpy as np - -# To compile and install locally run "python setup.py build_ext --inplace" -# To install library to Python site-packages run "python setup.py build_ext install" - -ext_modules = [ - Extension( - 'pycocotools._mask', - sources=['../common/maskApi.c', 'pycocotools/_mask.pyx'], - include_dirs = [np.get_include(), '../common'], - extra_compile_args=['-Wno-cpp', '-Wno-unused-function', '-std=c99'], - ) -] - -setup( - name='pycocotools', - packages=['pycocotools'], - package_dir = {'pycocotools': 'pycocotools'}, - install_requires=[ - 'setuptools>=18.0', - 'cython>=0.27.3', - 'matplotlib>=2.1.0' - ], - version='2.0', - ext_modules= ext_modules -)