Skip to content

Commit

Permalink
Use extension list to avoid Cython bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wackywendell committed Jun 24, 2017
1 parent f350492 commit ae4fa91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
except ImportError:
cythonize = None

extension_version = '0.2'
extension_version = '0.2.1'

if cythonize is not None:
print("Building with Cython.")
ext = cythonize(Extension("tess._voro",
ext = cythonize([Extension("tess._voro",
sources=["tess/_voro.pyx", "src/voro++.cc"],
include_dirs=["src"],
language="c++",
))
)])
else:
print("Cython not found, using prebuilt file.")
ext = [Extension("tess._voro",
Expand Down

0 comments on commit ae4fa91

Please sign in to comment.