From 86cf011a433af12a83d68c01c16080f097e6ae01 Mon Sep 17 00:00:00 2001 From: Fabien Baron Date: Tue, 30 Jul 2024 14:09:20 -0400 Subject: [PATCH] Updated README with simpler instructions --- README.md | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 167e344..dcd6ba4 100644 --- a/README.md +++ b/README.md @@ -32,17 +32,8 @@ You will only have to do this one. ```julia using Pkg; -#Install python packages -Pkg.add("Conda"); -using Conda; -Conda.add("ultranest", channel="conda-forge"); -Conda.add("astroquery", channel="astropy"); -# Install mainstream Julia packages -Pkg.add(["CFITSIO","AstroTime","Dates","DelimitedFiles","Documenter","DocumenterTools","FITSIO","Glob","LaTeXStrings","LinearAlgebra","NFFT","NLopt","UltraNest","LsqFit","NearestNeighbors","PyCall","PyPlot","Random","SparseArrays","SpecialFunctions","Statistics","Parameters"]); -# Install Eric Thiebaut's packages -Pkg.Registry.add(RegistrySpec(url = "https://github.com/emmt/EmmtRegistry")) -Pkg.add(["ArrayTools", "LazyAlgebra", "OptimPackNextGen"]); -# Install FB's packages +pkg"registry add General" # if not yet any registries +pkg"registry add https://github.com/emmt/EmmtRegistry" Pkg.add(url="https://github.com/fabienbaron/OIFITS.jl", rev="t4"); Pkg.add(url="https://github.com/fabienbaron/OITOOLS.jl.git") # Then check everything got installed properly @@ -125,3 +116,26 @@ then launch julia with ``` julia --sysimage oitools.so ``` + +## Packages to install for development + +Just for reference in case you want to further develop OITOOLS: + +```julia +using Pkg; +#Install python packages +Pkg.add("Conda"); +using Conda; +Conda.add("ultranest", channel="conda-forge"); +Conda.add("astroquery", channel="astropy"); +# Install mainstream Julia packages +Pkg.add(["CFITSIO","AstroTime","Dates","DelimitedFiles","Documenter","DocumenterTools","FITSIO","Glob","LaTeXStrings","LinearAlgebra","NFFT","NLopt","UltraNest","LsqFit","NearestNeighbors","PyCall","PyPlot","Random","SparseArrays","SpecialFunctions","Statistics","Parameters"]); +# Install Eric Thiebaut's packages +Pkg.Registry.add(RegistrySpec(url = "https://github.com/emmt/EmmtRegistry")) +Pkg.add(["ArrayTools", "LazyAlgebra", "OptimPackNextGen"]); +# Install FB's packages +Pkg.add(url="https://github.com/fabienbaron/OIFITS.jl", rev="t4"); +Pkg.add(url="https://github.com/fabienbaron/OITOOLS.jl.git") +# Then check everything got installed properly +using OITOOLS +``` \ No newline at end of file