Skip to content

[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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Feb 15, 2022

Follow-up to #1199

More potential updates related to pyodide/pyodide#2169

@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"setuptools>=57.4",
Copy link
Member Author

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):
Copy link
Member Author

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')],
Copy link
Member Author

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.

@ax3l ax3l modified the milestones: 0.14.5, 0.14.6 May 25, 2022
@ax3l ax3l modified the milestones: 0.14.6, 0.14.7 Jun 8, 2022
@ax3l ax3l modified the milestones: 0.14.7, 0.14.6 Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant