Closed tkelman closed 8 years ago
Hmmm...I guess I didn't realize that include
was always relative to the file that was doing the including? Anyway, this is mainly a convenience when developing since both the fix above and @__FILE__
don't work when running things line-by-line. Also, what are the use cases for using the package outside of where it regularly gets installed? I don't think I've ever thought of that use-case.
Also, what are the use cases for using the package outside of where it regularly gets installed?
Package bundling.
what is that?
Shipping a version of Julia that includes packages preinstalled.
Are people already doing that? I guess I've just never heard of anyone doing that yet.
Yes.
that prevents the package from passing its tests if installed anywhere else if this wasn't just calling
include
, you could usedirname(@__FILE__)
instead