Skip to content

Commit

Permalink
Merge pull request #20 from IntuitionEngineeringTeam/bug_fix
Browse files Browse the repository at this point in the history
fix mac os setup
  • Loading branch information
ArnoldMSU authored Dec 15, 2018
2 parents 6403cf1 + 653d93a commit b256940
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
if platform.system() == 'Darwin':

compile_opts = [ '-std=c++11',
'-mmacosx-version-min=10.7',
'-stdlib=libc++',
'-mmacosx-version-min={:}'.format( platform.mac_ver()[0] ),
'-Ofast' ]

elif platform.system() == 'Linux':
Expand Down Expand Up @@ -69,6 +68,7 @@
ext_modules=[ Extension( "redblackpy.series.tree_series",
sources=["redblackpy/series/tree_series.pyx"],
extra_compile_args=compile_opts,
extra_link_args=compile_opts[:-1],
language = "c++",
include_dirs=['./redblackpy'],
depends=[ 'core/tree/tree.hpp',
Expand All @@ -81,6 +81,7 @@
Extension( "redblackpy.series.series_iterator",
sources=["redblackpy/series/series_iterator.pyx"],
extra_compile_args=compile_opts,
extra_link_args=compile_opts[:-1],
language = "c++",
include_dirs=['./redblackpy'],
depends=[ 'core/tree/tree.hpp',
Expand All @@ -93,6 +94,7 @@
Extension( "redblackpy.benchmark.timer",
sources=["redblackpy/benchmark/timer.pyx"],
extra_compile_args=compile_opts,
extra_link_args=compile_opts[:-1],
language = "c++",
include_dirs=['./redblackpy'] ) ]

Expand All @@ -103,7 +105,7 @@
author_email='hypo@intuition.engineering',
maintainer='Intuition',
maintainer_email='dev@intuition.engineering',
install_requires=['cython>=0.27'],
install_requires=['cython'],
description='Data structures based on red-black trees.',
url='https://intuitionengineeringteam.github.io/RedBlackPy/',
download_url='https://github.com/IntuitionEngineeringTeam/RedBlackPy/archive/master.zip',
Expand Down

0 comments on commit b256940

Please sign in to comment.