Skip to content

Make pymunk excludable during os packaging #2454

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
eruvanos opened this issue Nov 15, 2024 · 6 comments
Open

Make pymunk excludable during os packaging #2454

eruvanos opened this issue Nov 15, 2024 · 6 comments

Comments

@eruvanos
Copy link
Member

Enhancement request:

Building a game to distribute it, allows to exclude unused packages.
While Pymunk might not be used in the game, the occurring import errors make it unable to be excluded.

What should be added/changed?

  • catch import errors in arcade.init
  • Use "MissingImportAlgo" within hitbox if pymunk is not available
@DragonMoffon
Copy link
Collaborator

I've never actually faced this issue using Nuitka, what packaging library did you use?

@eruvanos
Copy link
Member Author

I used cx_freeze.
Did you exclude pymunk in your build?

@DragonMoffon
Copy link
Collaborator

Ah maybe not

@eruvanos
Copy link
Member Author

@DragonMoffon could you take a look?
#2458

@einarf
Copy link
Member

einarf commented Mar 29, 2025

Status on this. Any forward plan or thoughts?

@einarf
Copy link
Member

einarf commented Apr 3, 2025

Possibly we need support for lazy loading to get started on this?

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

No branches or pull requests

3 participants