At Tue, 12 Nov 2019 21:29:44 -0500, Jon Zeppieri wrote: > I like the idea of installing the data to a "share" directory. I see > that the `info.rkt` file for a collection has a `copy-shared-files` > key. In my case, both the `tzinfo` package and the `tzdata` package > contribute to the `tzinfo` collection. So, two questions: (1) Would it > work just to add this to the collection-level `info.rkt` in the > `tzdata` package?
Yes. I think you'd want to copy the "zoneinfo" directory that way. > (2) How do I locate these files after they're > copied? Is this what the (notional) 'share mode for > `define-runtime-path` would do? Yes. Although you can find the files using `find-share-dir` and/or `find-user-share-dir`, adding a 'share mode to `define-runtime-path` would make it possible for `raco distribute` to find and carry along a directory/file when it's present, the same as 'so mode does. (I confused 'lib mode with 'so mode before. I think you want something like 'so mode.) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/5dcb6e6c.1c69fb81.19b8e.5cceSMTPIN_ADDED_MISSING%40gmr-mx.google.com.