File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " reynir"
7- version = " 3.6.1 "
7+ version = " 3.6.2 "
88description = " A natural language parser for Icelandic"
99authors = [{ name = " Miðeind ehf." , email = " mideind@mideind.is" }]
1010maintainers = [{ name = " Miðeind ehf." , email = " mideind@mideind.is" }]
@@ -40,7 +40,7 @@ requires-python = ">=3.9"
4040dependencies = [
4141 " cffi>=1.17.1" ,
4242 " tokenizer>=3.6.0" ,
43- " islenska>=1.0.4 " ,
43+ " islenska>=1.3.2 " ,
4444 " typing_extensions" ,
4545]
4646
Original file line number Diff line number Diff line change 135135 extra_compile_args = ["-std=c++11" ]
136136
137137# On some systems, the linker needs to be told to use the C++ compiler
138- # under PyPy due to changes in the default behaviour of distutils.
138+ # due to changes in the default behaviour of distutils/setuptools, which
139+ # otherwise link the C++ extension with the C driver and omit libstdc++,
140+ # causing an "undefined symbol: __gxx_personality_v0" ImportError at runtime.
139141if IMPLEMENTATION == "PyPy" :
140142 os .environ ["LDCXXSHARED" ] = "c++ -shared"
143+ elif not WINDOWS and not MACOS :
144+ os .environ .setdefault ("LDSHARED" , "c++ -shared" )
145+ os .environ .setdefault ("LDCXXSHARED" , "c++ -shared" )
141146
142147# Use the Python stable ABI (abi3) for CPython, allowing a single wheel
143148# to work across multiple Python versions (3.9+). PyPy doesn't support abi3.
You can’t perform that action at this time.
0 commit comments