Skip to main content

Create NSIS windows installers for Python modules.

Project description

The bdist_nsi module extends Python’s distutils module with a bdist_nsi setup command to create binary Windows installers for Python modules, based on NSIS. Thereby, bdist_nsi brings all the features of NSIS to Windows installers for Python modules, such as silent install, modern user interface, and internationalization.

In action

Take a look at the screenshots.

What you need

Besides Python and the bdist_nsi module, you will need NSIS. It can be run under windows and linux (see NSIS forum for instructions).

Installation

The latest version can always be downloaded from https://sourceforge.net/projects/bdist-nsi/files.

To install from source, simply run:

python setup.py install

Usage

Create your installer with:

python setup.py --command-packages bdist_nsi bdist_nsi

If the makensis executable is not installed in one of the usual locations (/usr/bin, C:\Program Files\NSIS, or C:\Program Files (x86)\NSIS), then you can specify the NSIS folder with the –nsis-dir option, or just add -k to have a look at the temporary generated files.

Development

Development happens at github, http://github.com/amorilia/bdist_nsi/. Fork at will!

Project details


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