from distutils.core import setup, Extension
import numpy.distutils.misc_util

# Adding Eigen to project
# ***********************

EIGEN_INCLUDE = ["/usr/include/eigen3"]

# Adding sources of the project
# *****************************

SOURCES = ["../src/cloud/cloud.cpp",
           "../src/cloud/points.cpp",
           "../src/npm_ply/ply_file_in.cc",
           "../src/npm_ply/ply_file_out.cc",
           "../src/polar_processing/polar_processing.cpp",
           "../src/pointmap/pointmap.cpp",
           "wrap_pointmap.cpp"]

module = Extension(name="pointmap",
                   sources=SOURCES,
                   include_dirs=EIGEN_INCLUDE,
                   extra_compile_args=['-std=c++17'])


setup(ext_modules=[module], include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs())








