Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-18 Thread James Platt
On Nov 16, 2019, at 3:49 AM, Bogdan Popa wrote: > > James Platt writes: > >> Would this now be the preferred method to include a copy of the SQLite >> library. required by the DB module, to your distribution? The >> software I am working on requires a newer version of SQLite than is >>

Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-16 Thread Bogdan Popa
James Platt writes: > Would this now be the preferred method to include a copy of the SQLite > library. required by the DB module, to your distribution? The > software I am working on requires a newer version of SQLite than is > included in at least some of the operating systems we want to

Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-15 Thread James Platt
On Nov 12, 2019, at 10:13 PM, Matthew Flatt wrote: >> 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

Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-12 Thread Jon Zeppieri
On Tue, Nov 12, 2019 at 10:13 PM Matthew Flatt wrote: > > At Tue, 12 Nov 2019 19:46:01 -0700, Matthew Flatt wrote: > > 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

Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-12 Thread Matthew Flatt
At Tue, 12 Nov 2019 19:46:01 -0700, Matthew Flatt wrote: > 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

Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-12 Thread Matthew Flatt
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`

Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-12 Thread Jon Zeppieri
On Tue, Nov 12, 2019 at 2:09 PM Matthew Flatt wrote: > > I'd say the problem is that "info.rkt" and `find-relevant-directories` > are set up as Racket-installation concepts. They're not made to play > well with standalone applications. > > The most similar concept that plays well with standard

Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-12 Thread Matthew Flatt
At Sun, 10 Nov 2019 15:26:58 -0500, Jon Zeppieri wrote: > That is, the tzdata package defines, in an info.rkt file, a key named > `tzdata-zoneinfo-module-path`. I use that to determine if the package > is installed, and, if so, I create a runtime path for it and add that > path to the head of a