Skip to content

Commit

Permalink
Tweak setup.py (trigger CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed Oct 16, 2018
1 parent 7e8b326 commit 5a01888
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def _path_under_setup(*args):
logger = logging.getLogger(__name__)
logger.info("Config for pycvodes: %s" % str(env))
ext = '.pyx' if USE_CYTHON else '.cpp'
sources = [os.path.join(pkg_name, '_cvodes'+ext)]
ext_modules = [Extension('%s._cvodes' % pkg_name, sources)]
ext_modules = [Extension('%s._cvodes' % pkg_name, [_pyx if USE_CYTHON else _cpp])]
if USE_CYTHON:
from Cython.Build import cythonize
ext_modules = cythonize(ext_modules, include_path=[
Expand Down

0 comments on commit 5a01888

Please sign in to comment.