Pynsist is a tool to build Windows installers for your Python applications. The installers bundle Python itself, so you can distribute your application to people who don’t have Python installed.
For more information, see the documentation and the examples.
Pynsist 2.7 requires Python 3.6 or above. You can use Pynsist 2.6 on Python 3.5, and Pynsist 1.x on Python 2.7 and Python 3.3 or above, but these versions won’t get further updates.
Quickstart
Get the tools. Install NSIS, and then install pynsist from PyPI by running pip install pynsist.
Write a config file installer.cfg, like this:
[Application] name=My App version=1.0 # How to launch the app - this calls the 'main' function from the 'myapp' package: entry_point=myapp:main icon=myapp.ico [Python] version=3.6.3 [Include] # Packages from PyPI that your application requires, one per line # These must have wheels on PyPI: pypi_wheels = requests==2.18.4 beautifulsoup4==4.6.0 html5lib==0.999999999 # To bundle packages which don't publish wheels, or to include directly wheel files # from a directory, see the docs on the config file. # Other files and folders that should be installed files = LICENSE data_files/Run pynsist installer.cfg to generate your installer. If pynsist isn’t found, you can use python -m nsist installer.cfg instead.
This example illustrates how to use Pynsist by itself, for simple projects. There are other options which can make it easier to integrate as a step in a more complex build process. See the docs for more information.
Metadata
Release files for pynsist 2.8
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 | |
|---|---|---|---|---|
| pynsist-2.8.tar.gz | 2.3 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pynsist-2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 MB
Release files / pynsist-2.8.tar.gz
| Download URL | pynsist-2.8.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
465c4596cba5cc3698d4719ddc7afea31ce9dc8936a7b4d3feffec6e8adc0b5d
|
|
BLAKE2b-256 checksum How to use checksums |
99e0b1b797633a71fadb5e37b44b69a707bf1f3108f1922d25bbb82d320af0cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.0
|
Release files / pynsist-2.8-py3-none-any.whl
| Download URL | pynsist-2.8-py3-none-any.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d3e8343c10cdbfb262ab63201a62d38ed86f4f2d0cffc2677c9917793d800a6
|
|
BLAKE2b-256 checksum How to use checksums |
4417f3d24a5c36a19eca00219bd1d7f2abf8dd26b3c61cc919f1159763e1e093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.0
|
Security for pynsist 2.8
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.