Skip to content

Commit 361a715

Browse files
committed
workaround for libicu 61 compatibility (proycon/LaMachine#69)
1 parent 2d8cda6 commit 361a715

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
libdirs = list(os.environ['LIBRARY_DIRS'].split(':')) + libdirs
2828

2929
if platform.system() == "Darwin":
30-
extra_options = ["--stdlib=libc++"]
30+
extra_options = ["--stdlib=libc++",'-D U_USING_ICU_NAMESPACE=1']
3131
else:
32-
extra_options = []
32+
extra_options = ['-D U_USING_ICU_NAMESPACE=1']
3333

3434
extensions = [ Extension("frog",
3535
[ "libfolia_classes.pxd", "frog_classes.pxd", "frog_wrapper.pyx"],
@@ -43,7 +43,7 @@
4343

4444
setup(
4545
name = 'python-frog',
46-
version = '0.3.6',
46+
version = '0.3.7',
4747
author = "Maarten van Gompel",
4848
author_email = "proycon@anaproy.nl",
4949
description = ("Python binding to FROG, an NLP suite for Dutch doing part-of-speech tagging, lemmatisation, morphological analysis, named-entity recognition, shallow parsing, and dependency parsing."),

0 commit comments

Comments
 (0)