Browse Source

fix setup for python3

Konstantin Ladutenko 5 years ago
parent
commit
8bfdda3e8c
1 changed files with 4 additions and 3 deletions
  1. 4 3
      setup.py

+ 4 - 3
setup.py

@@ -60,16 +60,17 @@ O. Pena, U. Pal, Comput. Phys. Commun. 180 (2009) 2348-2354.""",
       download_url = __download_url__,
       license = 'GPL',
       platforms = 'any',
-      packages = ['scattnlay', 'scattnlay_dp', 'scattnlay_mp'],
+      packages = ['scattnlay'#, 'scattnlay_dp', 'scattnlay_mp'
+                  ],
       ext_modules = [Extension("scattnlay_dp",
                                ["src/nmie.cc", "src/nmie-pybind11.cc", "src/pb11_wrapper.cc"],
                                language = "c++",
-                               include_dirs = [np.get_include(), pb.get_include()], 
+                               include_dirs = [np.get_include(), pb.get_include()],
                                extra_compile_args=['-std=c++11']),
                      Extension("scattnlay_mp",
                                ["src/nmie.cc", "src/nmie-pybind11.cc", "src/pb11_wrapper.cc"],
                                language = "c++",
-                               include_dirs = [np.get_include(), pb.get_include()], 
+                               include_dirs = [np.get_include(), pb.get_include()],
                                extra_compile_args=['-std=c++11', '-DMULTI_PRECISION=100'])]
 )