Skip to content

Conversation

terrychan999
Copy link
Collaborator

In this PR, we proposed a PyInstaller packaging script.
Currently only packaging the Python part of modmesh into a macOS app.
Maybe we could turn the line make clean into a toggle to decide whether we wants to build the C++ part or not before the packaging started.

@yungyuc yungyuc added the build Build system and automation label Jun 18, 2025
@yungyuc
Copy link
Member

yungyuc commented Jun 18, 2025

Would it make the total CI time longer to add an action for it?

Copy link
Member

@yungyuc yungyuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Add more error handling.
  • Clarify if pilot binary works.

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR/../.."

python3 -m pip install pyinstaller
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check if pip install fails

launch()
EOF

pyinstaller --onedir \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would pilot work with this installation? pilot is the primary entry point of modmesh.

@yungyuc
Copy link
Member

yungyuc commented Jun 19, 2025

@terrychan999 Please also take it to the discord #solvcon channel for quick discussions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system and automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants