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

Misc. smaller changes #8279

Merged
merged 3 commits into from Feb 3, 2024
Merged

Misc. smaller changes #8279

merged 3 commits into from Feb 3, 2024

Commits on Feb 3, 2024

  1. main: display version of pyinstaller-hooks-contrib at start

    Augment displayed the PyInstaller version with version of the
    `pyinstaller-hooks-contrib` package.
    rokm committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    12ab8a8 View commit details
    Browse the repository at this point in the history
  2. pyproject.toml: fix ruff deprecation warnings

    Update ruff settings in `pyproject.toml` to fix deprecation warnings
    with `ruff` 0.2.0.
    rokm committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    ceb1dbc View commit details
    Browse the repository at this point in the history
  3. main: early exit on non-existent script files

    When trying to run PyInstaller against non-existent script file(s),
    exit with error message immediately, before writing the spec file
    and trying to build it.
    
    This prevents us from overwriting an existing (and customized) .spec
    file if user makes a typo in the .spec file's suffix when trying to
    build it, for example, `pyinstaller program.cpes`. It also prevents
    creation of a .spec file when `pyinstaller program.py` is accidentally
    ran from a directory that does not contain the script (for example,
    due to failing to change the directory prior to running the command).
    
    This applies only to the `pyinstaller` command (and the equivalent
    `python -m PyInstaller` invocation); the `pyi-makespec` command is
    still allowed to be called with non-existent script file(s) that
    might be added later, before the actual build attempt with the
    generated .spec file.
    rokm committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    d4efea7 View commit details
    Browse the repository at this point in the history