You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS X 64, Linux 64, and Windows 64 are all available
Background
In preparation for adding orca image export support to plotly.py, I spent some time today working on a conda package recipe for orca.
Having a conda package means that conda users can install orca with a single command that's consistent across operating systems. It also means that plotly.py and orca can be installed together with a single command:
# Install both plotly.py and orca
$ conda install -c jonmmease plotly plotly-orca
For the time being I just published the packages to my own personal channel (that's the -c jonmmease part), but we should be able to get this into conda-forge at some point, and hopefully even into the official channel eventually. If we get the package into the official main channel, the -c jonmmease part wouldn't be needed.
Copy the extracted installation files into somewhere appropriate in the conda environment.
Add a script named orca to somewhere in the conda environment that ends up on the user's path. This orca script just passes command line args through to the orca executable copied above.
And, amazingly, everything seems to work just fine. I've tested installing the package from OS X, Ubuntu, and Windows 10. In each case I can run orca commands to perform image conversions and there are no warning messages, no windows, and no dock or taskbar flickers.
Please try it out from whatever OSs you have access to, let me know how it works, and take a look at the build recipe if you're so inclined 🙂
Notes
I built these packages manually using my local machine and some VMs, this should really be done on CI servers at some point.
TLDR
I made a WIP conda package for orca:
try out the package with:
OS X 64, Linux 64, and Windows 64 are all available
Background
In preparation for adding orca image export support to plotly.py, I spent some time today working on a conda package recipe for orca.
Having a conda package means that conda users can install orca with a single command that's consistent across operating systems. It also means that plotly.py and orca can be installed together with a single command:
For the time being I just published the packages to my own personal channel (that's the
-c jonmmeasepart), but we should be able to get this into conda-forge at some point, and hopefully even into the official channel eventually. If we get the package into the official main channel, the-c jonmmeasepart wouldn't be needed.Approach
The build recipe is actually ended up being fairly simple. See https://github.com/jonmmease/orca-feedstock.
Here's the general flow that's common to each OS (I've tested OS X, Linux, and Windows 64)
npm installnpm run packorcato somewhere in the conda environment that ends up on the user's path. Thisorcascript just passes command line args through to the orca executable copied above.And, amazingly, everything seems to work just fine. I've tested installing the package from OS X, Ubuntu, and Windows 10. In each case I can run orca commands to perform image conversions and there are no warning messages, no windows, and no dock or taskbar flickers.
Please try it out from whatever OSs you have access to, let me know how it works, and take a look at the build recipe if you're so inclined 🙂
Notes
cc: @etpinard @nicolaskruchten @jackparmer @chriddyp @cpsievert