Skip to main content

Integrate "pyinstaller" to "setuptools"

Project description

Integrate “pyinstaller” to “setuptools”. This will make it easy to freeze your package. More precisely, it will create a executable file form the console scripts entry points in your package.

How to use

Add “setuptools_freeze” to your setup requires:

        'console_scripts': ['<script name>=mypackage.gui:main']

Now you can freeze your project:

python pyinstaller

This will create the folder “dist/<script name>”, which include the executable file.

If you also use “Inno Setup” to create a executable setup file, you can use the “inno” command. Before that you have to do two thinks. 1. Install “Inno Setup” and add the compiler to your $PATH 2. Add a guid to the setup file Now you can run:

python inno

Developer nodes

This is still under develop. This is even more a proof of concept, than a beautiful package. But it work for my case and hopefully I will make it beautiful in future.

Developer tools:

python -m pip install --upgrade pip wheel setuptools flake8 tox


python install


python flake8
python test


python build


  1. create build folder if not exist

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for setuptools-freeze, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size setuptools_freeze-0.0.1-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size setuptools_freeze-0.0.1.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page