Skip to content

Commit

Permalink
Merge pull request #443 from flatironinstitute/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
epnev authored Jan 31, 2019
2 parents ef7f21c + 3a985ba commit cf67385
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from setuptools import setup, find_packages
import os
from os import path
import sys
import numpy as np
from Cython.Build import cythonize
from setuptools.extension import Extension
Expand Down Expand Up @@ -44,10 +45,16 @@

# compile with: python setup.py build_ext -i
# clean up with: python setup.py clean --all
if sys.platform == 'darwin':
extra_compiler_args = ['-stdlib=libc++']
else:
extra_compiler_args = []

ext_modules = [Extension("caiman.source_extraction.cnmf.oasis",
sources=["caiman/source_extraction/cnmf/oasis.pyx"],
include_dirs=[np.get_include()],
language="c++")]
language="c++",
extra_compile_args = extra_compiler_args)]

setup(
name='caiman',
Expand Down

0 comments on commit cf67385

Please sign in to comment.