Conda: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "The conda package manager can be used to install NSIS, plugins and header files. There are two approaches: # Use conda execute # Create conda environments manually == Using...")
 
mNo edit summary
Line 1: Line 1:
The conda package manager can be used to install NSIS, plugins and header files.
{{PageAuthor|Faph}}
 
The [http://conda.pydata.org conda package and environment manager] can be used to install NSIS, plugins and header files.


There are two approaches:
There are two approaches:


# Use conda execute
# Using 'conda execute'
# Create conda environments manually
# Creating conda environments manually


== Using conda execute ==
== Using conda execute ==

Revision as of 21:05, 17 October 2015

Author: Faph (talk, contrib)


The conda package and environment manager can be used to install NSIS, plugins and header files.

There are two approaches:

  1. Using 'conda execute'
  2. Creating conda environments manually

Using conda execute

Add this to the top of an NSIS source file:

# conda execute
# env:
#  - nsis
#  - plugin1
#  - plugin2
# channels:
#  - nsis
# run_with: makensis

Then compile the installer like this:

conda execute yourinstaller.nsi

This will create a temporary isolated conda environment with NSIS and the listed plugins installed. You don't need to have NSIS installed first! Then it simply runs makensis as usual.

Creating conda environments manually

TODO