Skip to content

[WIP] More Emscripten/pyiode Python#1201

Open
ax3l wants to merge 2 commits intoopenPMD:devfrom
ax3l:topic-buildMoreWasmSetuptools
Open

[WIP] More Emscripten/pyiode Python#1201
ax3l wants to merge 2 commits intoopenPMD:devfrom
ax3l:topic-buildMoreWasmSetuptools

Conversation

@ax3l
Copy link
Copy Markdown
Member

@ax3l ax3l commented Feb 15, 2022

Follow-up to #1199

More potential updates related to pyodide/pyodide#2169

Comment thread pyproject.toml
[build-system]
requires = [
"setuptools>=42",
"setuptools>=57.4",
Copy link
Copy Markdown
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)

Comment thread setup.py
for ext in self.extensions:
self.build_extension(ext)

def get_ext_filename(self, ext_name):
Copy link
Copy Markdown
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...

Comment thread setup.py
'Tracker': 'https://github.com/openPMD/openPMD-api/issues',
},
ext_modules=[CMakeExtension('openpmd_api_cxx')],
ext_modules=[CMakeExtension('openpmd_api.openpmd_api_cxx')],
Copy link
Copy Markdown
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