Skip to content
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

Embedded python package (zip) for Linux #871

Merged
merged 2 commits into from
Jul 12, 2020

Conversation

Paulchen-Panther
Copy link
Member

Summary

Since there is no official embedded zip from python for Linux, we simply pack the module folder into a zip file ourselves. This speeds up the unpacking process of the tar.gz archives a lot, protects SD cards since there are fewer files to write to and the number of the entire files in the archive or in the deb package decreases massively.
The loading of the python module zip file also works under Linux.

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Build-related changes
  • Other, please describe:

If changing the UI of web configuration, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing setups:

The PR fulfills these requirements:

  • When resolving a specific issue, it's referenced in the PR's body (e.g. Fixes: #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature
  • Related documents have been updated (docs/docs/en)
  • Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
@hyperion-project
Copy link

Hello @Paulchen-Panther 👋

I'm your friendly neighborhood bot and would like to say thank you for
submitting a pull request to Hyperion!

So that you and other users can test your changes more quickly,
you can find your workflow artifacts here.

If you make changes to your PR, i create a new link to your workflow artifacts.

Best regards,
Hyperion-Project

@hyperion-project
Copy link

Here is your new link to your workflow artifacts.

@Paulchen-Panther Paulchen-Panther merged commit 8c188d7 into hyperion-project:master Jul 12, 2020
@Paulchen-Panther Paulchen-Panther deleted the python branch July 12, 2020 07:42
Paulchen-Panther added a commit to Paulchen-Panther/hyperion.ng that referenced this pull request Jul 25, 2020
Paulchen-Panther added a commit that referenced this pull request Jul 27, 2020
* set zlib to system ignore list
* undo pr #871
* exclude libcec if Dispmanx available
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

Successfully merging this pull request may close these issues.

1 participant