Skip to content

Commit

Permalink
works for python version > 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
xiuliren committed Nov 15, 2024
1 parent a14f1a2 commit bf6e093
Show file tree
Hide file tree
Showing 2 changed files with 7,144 additions and 4,217 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from setuptools import setup, find_packages
from setuptools.extension import Extension
from setuptools.command.build_ext import build_ext as _build_ext
# from Cython.Build import cythonize
from Cython.Build import cythonize
import os
import builtins

VERSION = '0.9.5'
VERSION = '0.9.6'

PACKAGE_DIR = os.path.dirname(os.path.abspath(__file__))

Expand Down Expand Up @@ -36,7 +36,7 @@ def finalize_options(self):
extensions = [
Extension(
'waterz.evaluate',
sources=['waterz/evaluate.cpp', 'waterz/frontend_evaluate.cpp'],
sources=['waterz/evaluate.pyx', 'waterz/frontend_evaluate.cpp'],
include_dirs=include_dirs,
language='c++',
extra_link_args=['-std=c++11'],
Expand Down
Loading

0 comments on commit bf6e093

Please sign in to comment.