Is there any way to automatically create a launch script for a module with 
a given entry point?

I'm thinking of Python's setuptools 
<https://packaging.python.org/distributing/#console-scripts> which has the 
"entry_points" option. This allows the package implementer to just specify 
the entry point, and the package manager does the rest of creating a bash 
script that allows you to launch using
$ myprog
rather than
$ julia -L myprog -e 'main()'

Presumably, the package manager could maintain (update/uninstall) these 
scripts along with the rest of the package.

See also
http://stackoverflow.com/questions/24923726/declaring-main-function-entry-point-in-julia
https://groups.google.com/d/msg/julia-users/ufpi8tV7sk8/-Uv0rtAWTWsJ

Reply via email to