In python pip packages you can declare "bin" scripts which become available 
in path to execute. It's a simple feature but it allows you to use the 
system to distribute simple "programs" as well as libraries.

I can see there's no obvious way of providing the same functionality in 
julia, but if I did have a package with a script that people might want to 
execute, how would I proceed?

Is there any plan for an optional directory in packages which would be 
added to PATH?

Perhaps the best approach for now is just to give some direction in the 
README, eg.:

"just run `cp ~/.julia/v0.3/packname/script.jl .` to copy the script to the 
local directory and run it from there." ???

Reply via email to