Skip to content

Commit

Permalink
Merge pull request #15 from AtilaSaraiva/conda
Browse files Browse the repository at this point in the history
Trying to fix Registrator.jl error
  • Loading branch information
AtilaSaraiva authored Jul 22, 2023
2 parents 6f36b88 + 1d4c68c commit 869cc89
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.9.2"
manifest_format = "2.0"
project_hash = "b226239d94f08c8789d10b824c47ad0985cbc9ac"
project_hash = "0c103b35b31d4b816b30456238e69d1e5e073d25"

[[deps.ANSIColoredPrinters]]
git-tree-sha1 = "574baf8110975760d391c710b6341da1afa48d8c"
Expand Down
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ authors = ["fercarozzi <[email protected]>"]
version = "0.1.1"

[deps]
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
Expand Down
17 changes: 8 additions & 9 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using Pkg
using PyCall

if lowercase(get(ENV, "CI", "false")) == "true"

ENV["PYTHON"] = ""
Pkg.build("PyCall")

end
import Pkg, Conda
@info "building!"
Conda.pip_interop(true)
Conda.pip("install", "matplotlib")
Conda.add("matplotlib")
ENV["PYTHON"] = joinpath(Conda.ROOTENV, "bin", "python")
Pkg.build("PyCall")
@info "built PyCall!"

0 comments on commit 869cc89

Please sign in to comment.