Skip to content

Commit

Permalink
Go back to referencing directly the headers.
Browse files Browse the repository at this point in the history
It is conceptually wrong to rely on hpy_devel to get the includes, as we are
IMPLEMENTING the API, not using it.
  • Loading branch information
antocuni committed Nov 17, 2019
1 parent ce09b8c commit af1b183
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions setup.py
@@ -1,14 +1,14 @@
from setuptools import setup, Extension
import hpy_devel

setup(
name="hpy_universal",
ext_modules = [
Extension('hpy_universal', [
'cpython-universal/src/hpymodule.c',
'cpython-universal/src/handles.c',
'cpython-universal/src/api.c',
],
include_dirs=[hpy_devel.get_include()])
]
Extension('hpy_universal',
['cpython-universal/src/hpymodule.c',
'cpython-universal/src/handles.c',
'cpython-universal/src/api.c',
],
include_dirs=['hpy-api/hpy_devel/include'],
)]

)

0 comments on commit af1b183

Please sign in to comment.