Atom Build for Pynsist, builds Windows installers for Python applications.
Install build-pynsist from Atom's Package Manager or the command-line equivalent:
$ apm install build-pynsist
Change to your Atom packages directory:
Windows
# Powershell
$ cd $Env:USERPROFILE\.atom\packages:: Command Prompt
$ cd %USERPROFILE%\.atom\packagesLinux & macOS
$ cd ~/.atom/packages/Clone repository as build-pynsist:
$ git clone https://github.com/idleberg/atom-build-pynsist build-pynsistInside the cloned directory, install Node dependencies:
$ yarn || npm installYou should now be setup to build the package:
$ yarn build || npm run buildMake sure to specify the path to your pynsist in the package settings.
Example:
"build-pynsist":
pathToPynsist: "C:\\Python27\\Scripts\\pynsist.exe"Before you can build, select an active target with your preferred build option.
Available targets:
Pynsist: Compile InstallerPynsist: Generate Script
Here's a reminder of the default shortcuts you can use with this package:
Choose target
Super+Alt+T or F7
Toggle build panel
Super+Alt+V or F8
Build script
Super+Alt+B or F9
This work is dual-licensed under The MIT License and the GNU General Public License, version 2.0