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.

Source Distribution

setuptools_freeze-0.0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

setuptools_freeze-0.0.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page