Re: [A-A-P-develop] :action depend for D
Brought to you by:
vimboss
From: Bram M. <Br...@mo...> - 2003-10-31 11:49:18
|
Lars Ivar Igesund wrote: > From: "Bram Moolenaar" <Br...@mo...> > > > > There is also a problem for people that don't have an internet > > connection. They would not get past this :assertpkg. Adding {optional} > > is possible, but then dependency checking doesn't work... Is giving a > > warning sufficient? Otherwise, the file could be included in the > > distribution somehow. > > Well, the license allows it :) It is about 10k, but for aap's purposes it > don't need to be that large. Maybe a reduced version could be > included in case there is no connection and it isn't present othervise? This would be possible, but then it can't try to install a package at the same time. Thus the d module would have to check if "ddepcheck" can be found and when not: build it from the included ddpecheck.d. An alternative is to implement the dependency checker in Python. Then it doesn't need to be compiled and installed first. It will be a lot slower though. You would have to send me ddepcheck.d each time you make improvements. The user could still do "aap --install ddepcheck" to obtain an updated version. -- BEDEVERE: How do you know so much about swallows? ARTHUR: Well you have to know these things when you're a king, you know. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |