1 from setuptools import setup, Extension
4 # To compile and install locally run "python setup.py build_ext --inplace"
5 # To install library to Python site-packages run "python setup.py build_ext install"
10 sources=['../common/maskApi.c', 'pycocotools/_mask.pyx'],
11 include_dirs = [np.get_include(), '../common'],
12 extra_compile_args=['-Wno-cpp', '-Wno-unused-function', '-std=c99'],
18 packages=['pycocotools'],
19 package_dir = {'pycocotools': 'pycocotools'},
26 ext_modules= ext_modules