bdist_nsi
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
Add bdist_nsi option to your setup.py file.
In your projects setup.py:
try:
import bdist_nsi
except ImportError:
pass
nsis_options = {} # your nsis options
setup(
name='your application name',
version='0.0.x',
author='your name',
author_email='your email',
url='http://yourdomain.com/',
options={'bdist_nsi': nsis_options, },
license='your license',) # your setup options
You can create installer python setup.py bdist_nsi command.
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!
Metadata
Release files for bdist_nsi 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bdist_nsi-0.1.5.zip | 58.3 kB | Without provenance | Details |
Release files / bdist_nsi-0.1.5.zip
| Download URL | bdist_nsi-0.1.5.zip |
|---|---|
| Size | 58.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2122b47410166f57110c0b7d783c75abc5fb075fd22eb4903779fcf344d70293
|
|
BLAKE2b-256 checksum How to use checksums |
660ac3b3ae490f6b8852b2110839d44e2eacceee56c82f2792217e08f4ea154e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bdist_nsi 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.