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.3.zip (85.0 kB view details)

Uploaded Source

pynsist-0.3.tar.gz (82.4 kB view details)

Uploaded Source

File details

Details for the file pynsist-0.3.zip.

File metadata

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

File hashes

Hashes for pynsist-0.3.zip
Algorithm Hash digest
SHA256 2bea09358cc92608fce90c4b7e9c2b02a48b41b55d64a93ae1abcecdddab96c2
MD5 f05157d44299a0438ad3cc723e462370
BLAKE2b-256 2cf51c01646766dfb90bc5d02f124e2c048de52e03fe865c18f6f91e16adb56f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pynsist-0.3.tar.gz
Algorithm Hash digest
SHA256 2393467828a5eb7f4207b08fdc45c51feafd5aa16e84685d493111a94bd1ab9a
MD5 41b2715b1523d7b383a064f02da5f611
BLAKE2b-256 782c65d4df069551ca0483a3505223b18aa75fb985d23903cb0f5de0e5523b1d

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