Skip to content

Commit ef46681

Browse files
committed
Fixes #9: critical build issue on MacOS
1 parent 440aec9 commit ef46681

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog #
22

3+
## Version 2.0.3 ##
4+
5+
🛠️ Bug fixes:
6+
7+
* [Issue #9](https://github.com./PlotPyStack/PlotPy/issues/9) - MacOS: `error: a space is required between consecutive right angle brackets (use '> >')`
8+
39
## Version 2.0.2 ##
410

511
🛠️ Bug fixes:

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import os
44
import os.path as osp
5+
import platform
56
import sys
67
from distutils.core import setup
78

@@ -51,6 +52,8 @@ def compile_cython_extensions():
5152

5253
MACROS_CPP = [("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")]
5354
CFLAGS_CPP = ["/EHsc"] if is_msvc() else ["-Wall"]
55+
if platform.system() == "Darwin":
56+
CFLAGS_CPP += ["-std=c++11"]
5457

5558
setup(
5659
ext_modules=[

0 commit comments

Comments
 (0)