Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jessielw/custom-pyinstaller

Script to custom build pyinstaller to help prevent false positive viruses for Windows x64
https://github.com/jessielw/custom-pyinstaller

build custom false positive pyinstaller script

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

## 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](https://github.com/pyinstaller/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

- [GitHub Actions Workflow for PyInstaller Builds](https://github.com/yt-dlp/Pyinstaller-Builds/blob/master/.github/workflows/build.yml)