-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
This would work like Python's requirements.txt or Ruby's Gemfile or Node's packages.json and allows a patch author to specify exactly which externals their patch depends on.
See also #84.
The patch author should do three things:
- Create a
pd-dependencies.txtto go with their patch. - In their patch instantiate
[declare -path pd-dependencies/zexy]for example. - Instantiate a
[deken-dependencies]object in their patch.
(maybe 2 & 3 could be combined)
I suggest a format as follows for pd-dependencies.txt:
# Dependencies for mypatch.pd
freeverb~-v0-0extended
zexy-v0-0extended
http://puredata.info/Members/zmoelnig/software/cyclone/0-0extended/cyclone-v0-0extended-(Darwin-i386-32)(Darwin-PowerPC-32)(Darwin-x86_64-32)-externals.tar.gz
Note in this example the patch author has specified the exact URL for the 'cyclone' externals set.
The end user can now:
- Send the message "install" to the
[deken-dependencies]object. - This will look for and open
pd-dependencies.txt; and - Create a new folder next to the patch called
pd-dependencies; and - Download & unpack each listed deken package into the
pd-dependenciesfolder.
Suggest we start with the simplest possible iteration that works and don't try to solve every problem in an automated way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels