Alien::Plotly::Kaleido - Finds or installs plotly kaleido
version 0.003
use Alien::Plotly::Kaleido;
use Config;
if (Alien::Plotly::Kaleido->install_type eq 'share') {
$ENV{PATH} = join(
$Config{path_sep},
Alien::Plotly::Kaleido->bin_dir,
$ENV{PATH}
);
# get version
my $version = Alien::Plotly::Kaleido->version;
}
# If install_type is not 'share' then it means kaleido
# was detected from PATH when Alien::Plotly::Kaleido was installed.
# So in either case now you has 'kaleido' in PATH.
This module finds plotly's kaleido from your system, or installs it.
It supports 3 OS platforms: Windows, Linux and OSX.
0.2.1
By default if it cannot detect Kaleido from your environment, it will download Kaleido package from kaleido's github release page.
If you want to install from a different url, or from locally downloaded zipball, you can use environment variable =ALIEN_PLOTLY_KALEIDO_DOWNLOAD_URL=. For example, to install from a local zipball,
ALIEN_PLOTLY_KALEIDO_DOWNLOAD_URL=file:///your/local/kaleido/zip cpanm Alien::Plotly::Kaleido
https://github.com/plotly/Kaleido
Stephan Loyd sloyd@cpan.org
Carlos D. Álvaro github@cdalvaro.io
This software is copyright (c) 2020-2023 by Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.