PyMusicLooper icon indicating copy to clipboard operation
PyMusicLooper copied to clipboard

Add Pyinstaller Support

Open arkrow opened this issue 1 year ago • 1 comments

  • Not dependent on poetry or plugins like #40
  • The implemented __version__ approach to read from importlib.metadata.version is not compatible since no metadata is present. This might be addressed in a future commit, but this needs to be manually set for now.

To use, install the project and it's requirements in a venv, along with pyinstaller==6.9.0 and then:

pyinstaller pymusiclooper.spec

Summary by Sourcery

Introduce PyInstaller support by adding a spec file to enable building the project into an executable. This allows users to package the application without relying on poetry or plugins.

New Features:

  • Add support for PyInstaller by including a new spec file for building the project into an executable.

arkrow avatar Aug 09 '24 17:08 arkrow

Reviewer's Guide by Sourcery

This pull request adds support for building the project using PyInstaller. A new spec file, pymusiclooper.spec, has been introduced to configure the build process. The spec file includes the necessary configurations to package the sounddevice library and other dependencies, and sets up the Analysis and EXE objects required by PyInstaller.

File-Level Changes

Files Changes
pymusiclooper.spec Added PyInstaller spec file to support building the project into an executable.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

sourcery-ai[bot] avatar Aug 09 '24 17:08 sourcery-ai[bot]