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 Distribution

pynsist-1.5.tar.gz (85.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pynsist-1.5.tar.gz
Algorithm Hash digest
SHA256 b78c04ec6173651a1ef8847153a89205765eb95dc08bd13c95ba72830fb46fbf
MD5 424d02ee6e78a424ef669ed201853c8f
BLAKE2b-256 b79e9436f8135125cf237cd70ae218fae7c05320f8b297371f8629c8dd3984be

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