Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jessielw/custom-pyinstaller
- Owner: jessielw
- License: mit
- Created: 2023-12-27T01:39:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-28T17:46:37.000Z (about 1 year ago)
- Last Synced: 2024-05-11T16:41:47.572Z (9 months ago)
- Topics: build, custom, false, positive, pyinstaller, script
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)