| File | Date | Author | Commit |
|---|---|---|---|
| bdist_nsi | 2012-10-18 |
|
[6a3886] Use scripts/addons/modules, instead of python/l... |
| images | 2009-06-23 |
|
[c2b285] Updated install and uninstall icons with new py... |
| .gitattributes | 2012-10-27 |
|
[312a94] Add gitattributes. |
| LICENSE.rst | 2009-06-20 |
|
[16f460] Tab fix in license text. |
| MANIFEST.in | 2012-10-27 |
|
[607838] Include readme and license. |
| README.rst | 2010-09-26 |
|
[59fc13] Update REAME by SHA: da27a6cacfee39c3469e57a97e... |
| makeexe.bat | 2011-09-26 |
|
[d9d55f] Include py3k in installer scripts. |
| makeexe.sh | 2011-09-26 |
|
[d9d55f] Include py3k in installer scripts. |
| setup.py | 2012-10-27 |
|
[f2de8a] Version bump. |
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.
Take a look at the screenshots.
Besides Python and the bdist_nsi module, you will need NSIS. It can be run under windows and linux (see NSIS forum for instructions).
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
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 happens at github, http://github.com/amorilia/bdist_nsi/. Fork at will!