Skip to main content

Build Windows installers for Python apps

Project description

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.

At present, pynsist requires Python 3.3 or above, or Python 2.7.

For more information, see the documentation and the examples.

Quickstart

  1. Get the tools. Install NSIS, and then install pynsist from PyPI by running pip install pynsist.

  2. 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.4.0
    
    [Include]
    # Importable packages that your application requires, one per line
    packages = requests
         bs4
         html5lib
    
    # Other files and folders that should be installed
    files = LICENSE
        data_files/
  3. Run pynsist installer.cfg to generate your installer. If pynsist isn’t found, you can use python -m nsist installer.cfg instead.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

pynsist-0.2.zip (322.6 kB view details)

Uploaded Source

pynsist-0.2.tar.gz (321.8 kB view details)

Uploaded Source

File details

Details for the file pynsist-0.2.zip.

File metadata

  • Download URL: pynsist-0.2.zip
  • Upload date:
  • Size: 322.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pynsist-0.2.zip
Algorithm Hash digest
SHA256 8eab58d66b6bdc2d30701cb926e635ffd212060a8f74d281bb4291073111de1c
MD5 cfa3d03c30224db742ddc7c5f75e8327
BLAKE2b-256 a2036eacd93569729d7c28e215e835fff9262b25802c9c8a32e190899c694cae

See more details on using hashes here.

File details

Details for the file pynsist-0.2.tar.gz.

File metadata

  • Download URL: pynsist-0.2.tar.gz
  • Upload date:
  • Size: 321.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pynsist-0.2.tar.gz
Algorithm Hash digest
SHA256 1b52002bf290f948e0e2a1c58195a696726ace135186f5f592ac17bbb3b06c71
MD5 fe7ec594cc0a54d8e8a924594edf8e2b
BLAKE2b-256 d2ceb4ee582f31ce9ccab92566c4d6f2f8d97e3139cf3c2a2b5385637a650d69

See more details on using hashes here.

Supported by

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