@mottosso mottosso released this Apr 18, 2016 · 7 commits to master since this release

Assets 6

Run unit tests with Pyblish Shell.

$ cd pyblish-base
$ ./pyblish_shell run_testsuite.py
...
Simple plug-ins work well ... INFO - Processing..
INFO - Done!
ok
Simple plug-ins process instances as usual ... ok
Simple plug-ins defaults to running *before* SVEC ... ok

----------------------------------------------------------------------
Ran 143 tests in 0.657s

OK

@mottosso mottosso released this Apr 12, 2016 · 10 commits to master since this release

Assets 6

Builds for OSX Mavericks and Ubuntu 12.04.

Note

The OSX offering is still under development and currently requires an install of Qt on your local system. We're working to detach this requirement!

@mottosso mottosso released this Apr 6, 2016 · 73 commits to master since this release

Assets 4

Added support for Pyblish Tray, unbuffered and background mode.

Pyblish Tray

Pyblish Tray can now be started natively using the supplied executable.

$ pyblish_tray

On Windows, this will automatically run without an associated command prompt.

Unbuffered

Unbuffered mode means STDOUT is sent to the parent process immediately, which means it can be used with things like subprocess. Pyblish Tray relies on this functionality to monitor the child Pyblish QML process.

$ # Trigger unbuffered mode with the -u flag
$ pyblish_shell -u -m my_module

Background

On Windows, you can mute the native command prompt by passing --background.

$ pyblish_shell --background -m pyblish_tray
$ pyblish_shell --background -m pyblish_qml --debug

Implementation Detail

Program executables have been converted to simple scripts to simplify both maintenance and your understanding of what is actually going on under the hood.

Have a look inside the pyblish_qml.bat (Windows) or pyblish_qml (Unix) for a peek.

@mottosso mottosso released this Mar 10, 2016 · 123 commits to master since this release

Assets 5

Initial release.

Contents

You will find two executables in this install.

  • pyblish_qml
  • pyblish_shell

pyblish_qml or pyblish_qml.exe is a Python interpreter hard-coded to run the following.

$ python -m pyblish_qml

Which means it is up to you to have pyblish_qml and it's dependencies available on your PYTHONPATH before launching.

pyblish_shell or pyblish_shell.exe is a simulated interactive Python interpreter, it supports the most basic notions of running, importing libraries and also using the -m and -c command-line flags.