-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow users to set Kaleido path via envionment variable (#262)
* allow users to set Kaleido path via envionment variable - introduced a new feature to allow users to download Kaleido at compile time when the applications are targeted for the host machine - this can be overriden by the runtime environment variable * add no-sanbox arg to Kaleido process - something fishy is happening in the CI, without this argument empty files are generated because of chromium security issues - print stderr of Kaleido to console Signed-off-by: Andrei Gherghescu <[email protected]>
- Loading branch information
Showing
8 changed files
with
185 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[package] | ||
name = "kaleido" | ||
version = "0.1.0" | ||
authors = ["Michael Freeborn <[email protected]>"] | ||
authors = [ | ||
"Michael Freeborn <[email protected]>", | ||
"Andrei Gherghescu [email protected]", | ||
] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
plotly = { path = "../../plotly", features = ["kaleido"] } | ||
plotly = { path = "../../plotly", features = ["kaleido", "kaleido_download"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,10 @@ | |
name = "plotly_kaleido" | ||
version = "0.11.0" | ||
description = "Additional output format support for plotly using Kaleido" | ||
authors = ["Ioannis Giagkiozis <[email protected]>"] | ||
authors = [ | ||
"Ioannis Giagkiozis <[email protected]>", | ||
"Andrei Gherghescu [email protected]", | ||
] | ||
license = "MIT" | ||
readme = "README.md" | ||
workspace = ".." | ||
|
@@ -14,12 +17,17 @@ keywords = ["plot", "chart", "plotly", "ndarray"] | |
|
||
exclude = ["target/*", "kaleido/*", "examples/*"] | ||
|
||
[features] | ||
download = [] | ||
|
||
[dependencies] | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
base64 = "0.22" | ||
dunce = "1.0" | ||
directories = ">=4, <6" | ||
base64 = "0.22" | ||
|
||
[dev-dependencies] | ||
plotly_kaleido = { version = "0.11", path = ".", features = ["download"] } | ||
|
||
[build-dependencies] | ||
zip = "2.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.