Mayank Jain
Mayank Jain

Reputation: 67

Python: creating exe installer of python project

I want to create an installer for my python project, which runs on any Windows PC without directly installing python on that PC.

Basically what I need is that my python project installs and runs on PC as any other software.

I've already tried pyinstaller but it converts only a single file. I don't know if it does work for a whole project.

Upvotes: 0

Views: 497

Answers (2)

Limina102
Limina102

Reputation: 1087

The single file pyinstaller outputs contains the whole project you told it to generate for you.

You can just distribute that file, and anyone can download it and run with double-click.

To create an installer, you can use something like NSIS installer.

Upvotes: 0

NAGA RAJ S
NAGA RAJ S

Reputation: 453

Please install AUTO-PY-TO-EXE

Auto-py-to-exe have gui to convert exe it has a option for one directory and one file

pip install auto-py-to-exe

enter image description here

Upvotes: 1

Related Questions