configure.py assumes "python" command exists
Scott Kostyshak
skostysh at lyx.org
Sat Dec 25 18:32:21 UTC 2021
On Sun, Oct 31, 2021 at 12:58:19PM -0400, Scott Kostyshak wrote:
> On Mon, Apr 26, 2021 at 12:12:50AM -0400, Scott Kostyshak wrote:
> > On Wed, Feb 24, 2021 at 01:19:30PM -0500, Scott Kostyshak wrote:
> > > On Tue, Feb 23, 2021 at 06:40:46PM +0000, José Abílio Matos wrote:
> > > > On Monday, February 15, 2021 3:25:45 PM WET Scott Kostyshak wrote:
> > > > > +1
> > > > >
> > > > > Thanks for taking a look, José.
> > > > >
> > > > > Scott
> > > >
> > > > OK. I have lots of issues on hand but at least this is funny. :-)
> > > >
> > > > One option would be to use some kind of string formatting. Actually since
> > > > curly braces are usually not used in OS we could use the string format syntax
> > > > (that is also used in C++20 format). One example would be:
> > > >
> > > > \converter pdf4 pdf8 "{python} $$s/scripts/convert_pdf.py $$i $$o ebook"...
> > > >
> > > > The lyx could convert internally {python} to the python path. Since lyx
> > > > already has this information, or else it would not call configure.py
> > > >
> > > > If you do not like this option one in the same line as the other
> > > > interpolations that we apply is to use $${python}.
> > > >
> > > > The other option is to replace this in configure.py like in the following
> > > > patch that I have not yet tested.
> > > >
> > > > What do you think?
> > >
> > > Thanks for working on it, José! I don't have an opinion on which
> > > approach is best. I can test the patch, but first perhaps I'll wait to
> > > see if others have comments.
> >
> > Does anyone have an opinion on the options José proposed?
>
> Ping to lyx-devel.
>
> If no one responds, I suggest that José chooses which one he likes the most, or flips a coin.
>
> José, I think you just mentioned you don't have any time, so don't worry if you can't get to this soon.
Bump.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211225/241fe73e/attachment.asc>
More information about the lyx-devel
mailing list