I'm not quite sure, but one thing I see off that I forgot to mention in my
previous post is that I think the package you want is "csv-reading", not
"cvs-reading".

On Sat, Oct 29, 2016 at 10:31 PM, <meino.cra...@gmx.de> wrote:

>
> Hi Jack,
>
> thanks fpr your reply ! :)
>
> I tried that with this script (copied from the docs, "/bin/env racket
> replace by the actually path to racket):
>
>     #!/usr/local/bin/racket                    ; \
>     #lang scripty                              ; | script preamble
>     #:dependencies '("cvs-reading")            ; /
>     ------------------------------------------
>     #lang racket
>
>     (require cvs-reading)
>
> and it failed with:
>
>     default-load-handler: cannot open module file
>     module path: #<path:/home/mccramer/; \>
>     path: /home/mccramer/; \
>     system error: No such file or directory; errno=2
>     context...:
>     standard-module-name-resolver
>     [1]    32658 exit 1     ./test.rkt
>
> What did I wrong here?
>
> Cheers
> Meino
>
> Jack Firth <jackhfi...@gmail.com> [16-10-30 06:08]:
> > I would recommend adding `info.rkt` files to your projects so that your
> projects are *themselves* packages. In these info files you can declare
> what packages you depend on, so rather than manually installing
> dependencies one at a time globally (and reinstalling when upgrading
> racket), you simply install your project as a package and `raco pkg` will
> fetch all the dependencies you listed.
> >
> > If you're writing things that tend to be one-off scripts rather than
> full-blown projects and the overhead of an `info.rkt` file irks you, have a
> look at Scripty[1]. This is a Racket package that lets you write scripts
> that declare what packages they depend on in the script itself -- when you
> run the script, it prompts you to install any declared packages that aren't
> present. It's especially useful for replacing random shell scripts with
> racket scripts without forcing your coworkers to confront the racket
> packaging system.
> >
> > [1] http://docs.racket-lang.org/scripty/index.html
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to