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.

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.1.zip (108.3 kB view details)

Uploaded Source

pynsist-0.1.tar.gz (108.1 kB view details)

Uploaded Source

File details

Details for the file pynsist-0.1.zip.

File metadata

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

File hashes

Hashes for pynsist-0.1.zip
Algorithm Hash digest
SHA256 be8a1000dacceb6496e005c59fa5669a8ab2794fc878f07bac8afe2c49bd6768
MD5 a55163ebf7e52e480ede37fa5092967e
BLAKE2b-256 b379764cb30ad9d6a35a2092e5ebbc090058975b1ef7fa12f3c6ef119a8c33c0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pynsist-0.1.tar.gz
Algorithm Hash digest
SHA256 dd8de3b83df2e993a679ece625c6a8a35fe49adc7cca33cdb012107f2784d6dd
MD5 6840bcf6c6b4c529906b781f7c93a224
BLAKE2b-256 dda5714313bdcdd58c492fb45815993e83321ad9845cda42179261534063fd6f

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