diff options
Diffstat (limited to 'silx/math/setup.py')
-rw-r--r-- | silx/math/setup.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/silx/math/setup.py b/silx/math/setup.py index 8d54576..08272dd 100644 --- a/silx/math/setup.py +++ b/silx/math/setup.py @@ -1,6 +1,6 @@ # coding: utf-8 # /*########################################################################## -# Copyright (C) 2016-2017 European Synchrotron Radiation Facility +# Copyright (C) 2016-2018 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -75,6 +75,13 @@ def configuration(parent_package='', top_path=None): include_dirs=['include'], language='c') + config.add_extension('colormap', + sources=["colormap.pyx"], + language='c', + include_dirs=['include', numpy.get_include()], + extra_link_args=['-fopenmp'], + extra_compile_args=['-fopenmp']) + return config |