https://github.com/idleberg/vscode-pynsist
Language support, snippets and build-system for pynsist, a tool to build Windows installers for your Python applications
https://github.com/idleberg/vscode-pynsist
nsis pynsist python python-installation vscode-extension
Last synced: 4 months ago
JSON representation
Language support, snippets and build-system for pynsist, a tool to build Windows installers for your Python applications
- Host: GitHub
- URL: https://github.com/idleberg/vscode-pynsist
- Owner: idleberg
- License: mit
- Created: 2017-07-16T21:10:18.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2025-10-07T14:18:57.000Z (8 months ago)
- Last Synced: 2026-02-17T02:38:18.414Z (4 months ago)
- Topics: nsis, pynsist, python, python-installation, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=idleberg.pynsist
- Size: 6.81 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vscode-pynsist
[](https://github.com/idleberg/vscode-pynsist/releases)
[](https://marketplace.visualstudio.com/items?itemName=idleberg.pynsist)
[](https://open-vsx.org/extension/idleberg/pynsist)
[](https://github.com/idleberg/vscode-pynsist/actions)
Language support, snippets and build-system for [pynsist](https://pypi.python.org/pypi/pynsist), a tool to build Windows installers for your Python applications

*See Pynsist in action*
## Installation
### Extension Marketplace
Launch Quick Open, paste the following command, and press Enter
`ext install idleberg.pynsist`
### CLI
With [shell commands](https://code.visualstudio.com/docs/editor/command-line) installed, you can use the following command to install the extension:
`$ code --install-extension idleberg.pynsist`
### Packaged Extension
Download the packaged extension from the the [release page](https://github.com/idleberg/vscode-pynsist/releases) and install it from the command-line:
```bash
$ code --install-extension path/to/pynsist-*.vsix
```
Alternatively, you can download the packaged extension from the [Open VSX Registry](https://open-vsx.org/) or install it using the [`ovsx`](https://www.npmjs.com/package/ovsx) command-line tool:
```bash
$ ovsx get idleberg.pynsist
```
### Clone Repository
Change to your Visual Studio Code extensions directory:
```powershell
# Windows Powershell
cd $Env:USERPROFILES\.vscode\extensions
# Windows Command Prompt
$ cd %USERPROFILE%\.vscode\extensions
```
```bash
# Linux & macOS
$ cd ~/.vscode/extensions/
```
Clone repository as `pynsist`:
```bash
$ git clone https://github.com/idleberg/vscode-pynsist pynsist
```
## Usage
### Snippets
This package provides snippets to create sections and settings inside your `installer.cfg`, as well as all supported NSIS variables.
### Building
Before you can build, make sure `pynsist` and `makensis` are in your PATH [environment variable](http://superuser.com/a/284351/195953). Alternatively, you can specify the path to `pynsist` in your [user settings](https://code.visualstudio.com/docs/customization/userandworkspace).
Once set up, you can make use of the commands provided by this package:
- `pynsist: Generate Script` - generates an NSIS script from your `installer.cfg`
- `pynsist: Compile Installer` - generates an NSIS script and compiles it
- `pynsist: Create Build Task` - create build task for the built-in Task Runner
## Related
- [atom-pynsist](https://atom.io/packages/pynsist)
- [sublime-pynsist](https://packagecontrol.io/packages/Pynsist)
## License
This work is licensed under [The MIT License](https://opensource.org/licenses/MIT)