Continuing the discussion from [ANN] UseAll.jl β Temporarily Demodularize Julia Code:
Even outside of the specific context of what makes sense for that UseAll package, that seems like an interesting question by itself.
Continuing the discussion from [ANN] UseAll.jl β Temporarily Demodularize Julia Code:
Even outside of the specific context of what makes sense for that UseAll package, that seems like an interesting question by itself.
Not really, no.
module MyPackage
function __init__()
if !isinteractive()
error("MyPackage is intended for interactive REPL use only.")
end
end
end
This wonβt prevent OtherPackage from accidentally making MyPackage a dependency, but at least would break OtherPackageβs CI, thus also preventing itβs registration.