Hello
The last version of Pluto has its own built-in package manager.
Unfortunately I need to include a Pkg.activate() statement in the notebooks for testing.
And this statement should be removed before distribution.
To make sure packages will then be installed automatically.
Would there be another way to work?
Just to avoid editing before distributing …
Thanks,
Michel
I want to avoid using Pkg.activate() in Pluto files when testinh
begin
using Pkg
Pkg.activate()
using ThermoMineral
using Plots
end
My simple package
> ThermoMineral
> ├── Manifest.toml
> ├── Project.toml
> ├── sample Pluto notebooks
> │ ├── 1 ThermoMineral.jl
> │ ├── 2 Equilibrium examples.jl
> │ ├── 3 Ellingham diagram.jl
> │ ├── 4 Adiabatic flame temperature.jl
> │ ├── 5 Clinker burning.jl
> └── src
> ├── ThermoMineral.jl
> ├── cement.jl
> ├── composition.jl
> ├── functions.jl
> ├── mineralData.jl
> ├── mixture.jl
> ├── substance.jl
> ├── thermoData.jl
> └── util.jl