Ghost-CLI icon indicating copy to clipboard operation
Ghost-CLI copied to clipboard

🐛 Fix Python version check and setuptools validation on Windows

Open truekasun opened this issue 5 months ago • 0 comments

fixes #1982

  • python3 command is not available on Windows. Modified the checkPython function to check both python and python3 commands before returning the result

[!NOTE] Detects Python 3 using either python or python3 and runs the setuptools check against that executable; adds .DS_Store to .gitignore.

  • Doctor checks (lib/commands/doctor/checks/python-setuptools.js):
    • Detect Python 3 from either python3 or python, ensuring major version >= 3, and return the chosen executable.
    • Run setuptools import check using the detected python executable.
    • Preserve task titles and conditional setuptools requirement for Python >= 3.12.
  • Repo:
    • Add .DS_Store to .gitignore.

Written by Cursor Bugbot for commit e47180bf8669a832284231ed6a38e673315d1750. This will update automatically on new commits. Configure here.

truekasun avatar Nov 01 '25 10:11 truekasun