/Custom-Pyinstaller

Script to custom build pyinstaller to help prevent false positive viruses for Windows x64

Primary LanguagePythonMIT LicenseMIT

Description

A set of scripts designed to streamline the process of downloading, creating a virtual environment, building, and extracting PyInstaller to prevent false-positive virus detections.

A venv is automatically created to build pyinstaller in the root of the project, so your python install is left untouched.

This utility is intended for use on Windows 8 or greater.

System Requirements

  • Python (what ever is supported by pyinstaller at the time you are building it)
  • Administrative privileges is required to run the scripts, however it will automatically elevate it for you.

Usage

  1. Clone this repository to a directory of your choice.

  2. Ensure you have Python installed on your Windows operating system (Windows 8 or higher).

  3. Ensure you have either MinGW or Chocolatey installed. (Chocolatey is used automatically to install MinGW64).

  4. Open a terminal inside the cloned directory.

  5. Run the command python run.py.

  6. Once the process is complete, an Explorer window will open with the path to custom_pyinstaller.

  7. You can then use this custom pyinstaller to poetry add --editable PATH_TO_custom_pyinstaller or pip install PATH_TO_custom_pyinstaller to install in your current projects venv. The path should be in the root of the custom_pyinstaller folder pointing towards setup.py

Reference