-
Notifications
You must be signed in to change notification settings - Fork 52
[WIP] More Emscripten/pyiode Python #1201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
@@ -1,6 +1,6 @@ | |||
[build-system] | |||
requires = [ | |||
"setuptools>=42", | |||
"setuptools>=57.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introduces the env var SETUPTOOLS_EXT_SUFFIX (ref)
@@ -35,6 +35,18 @@ def run(self): | |||
for ext in self.extensions: | |||
self.build_extension(ext) | |||
|
|||
def get_ext_filename(self, ext_name): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overwritten temporarily since it looks like the build_wheel
step does not have the same env vars in pyoide than the earlier steps during build.
Wheel packaging still does not pick up the openpmd_api_cxx
shared lib though...
@@ -186,7 +195,7 @@ def build_extension(self, ext): | |||
'Source': 'https://github.com/openPMD/openPMD-api', | |||
'Tracker': 'https://github.com/openPMD/openPMD-api/issues', | |||
}, | |||
ext_modules=[CMakeExtension('openpmd_api_cxx')], | |||
ext_modules=[CMakeExtension('openpmd_api.openpmd_api_cxx')], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Playing with declaring the full sub-module here does not help either with the install pick-up-to-wheel issue.
Follow-up to #1199
More potential updates related to pyodide/pyodide#2169