Skip to content
Dag Wieers edited this page Oct 16, 2019 · 2 revisions

When you have a project that depends on inputstreamhelper, you may need to be able to import inputstreamhelper for testing your add-on end-to-end.

NOTE: You should only need it for the playback routine really. So we advise to only import inputstreamhelper in the routine that requires it, rather than importing it at the top of the module/library.

In order to test your project with inputstreamhelper, it is best to add the below to your requirements.txt:

git+git://github.com/emilsvennesson/script.module.inputstreamhelper.git@master#egg=inputstreamhelper

This will pull in inputstreamhelper when the following is run:

pip install -r requirements.txt

NOTE: You need to have a fairly recent setuptools (41 or higher) for this to work, run pip install --upgrade setuptools

Clone this wiki locally