Re: scons copyto /path/to/project

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> Tue, 8 Sep 2020 11:25:03 -0400
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CEjwZsZKeBk3CerFRUq75gy6632K=wNHbG-KMg-g4Z4bQ@mail.gmail.com>
--===============5684276102865129380==
Content-Type: multipart/alternative; boundary="0000000000001cefca05aecef19b"

--0000000000001cefca05aecef19b
Content-Type: text/plain; charset="UTF-8"

This is probably the wrong way to go about this.
I'd rather just allow passing in the location to build the scons-local and
not copy it after it's been constructed.
Seems a much simpler method.


On Mon, Sep 7, 2020 at 1:03 PM anatoly techtonik <[email protected]>
wrote:

> On Mon, Sep 7, 2020 at 6:13 PM Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
> wrote:
> >
> > yes. it belongs in the users mailing list.
> > It's about using scons.
> > (whether that's about installing scons it doesn't matter)
> >
> > So you're proposing to add this logic into SCons' own SConstruct?
>
> Exactly. PR message asked to discuss it first.
>
> > On Mon, Sep 7, 2020 at 11:01 AM anatoly techtonik <[email protected]>
> wrote:
> >>
> >> On Sun, Sep 6, 2020 at 12:23 AM Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
> wrote:
> >> >
> >> > probably should be on the users mailing list.
> >>
> >> Not really. I want to add a feature to copy scons-local to another
> >> project directory without zipping and unzipping it.
> >>
> >> > Go take a look at the manpage.
> >> > I think env.Install() is what you want..
> >>
> >> https://scons.org/doc/4.0.1/HTML/scons-user/ch11.html
> >> Looks like installation is just a copy. Or is there something I missed?
> >>
> >> > On Sat, Sep 5, 2020 at 10:33 AM anatoly techtonik <
> [email protected]> wrote:
> >> >>
> >> >> Hi.
> >> >>
> >> >> Is it possible to create a build command that will copy
> >> >> SCons local to the target directory?
> >> >>
> >> >>     SCons/ -> /path/to/project/SCons/
> >> >>     scripts/scons.py -> /path/to/project/scons
> >> >>
> >> >> I haven't used SCons for a while and I don't remember
> >> >> how to create phony target "copyto" and handle path
> >> >> parameter to it.
> >> >> --
> >> >> anatoly t.
> >> >> _______________________________________________
> >> >> Scons-dev mailing list
> >> >> [email protected]
> >> >> https://pairlist2.pair.net/mailman/listinfo/scons-dev
> >> >
> >> > _______________________________________________
> >> > Scons-dev mailing list
> >> > [email protected]
> >> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
> >>
> >>
> >>
> >> --
> >> anatoly t.
> >> _______________________________________________
> >> Scons-dev mailing list
> >> [email protected]
> >> https://pairlist2.pair.net/mailman/listinfo/scons-dev
> >
> > _______________________________________________
> > Scons-dev mailing list
> > [email protected]
> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
>
> --
> anatoly t.
> _______________________________________________
> Scons-dev mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>

--0000000000001cefca05aecef19b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>This is probably the wrong way to go about this.</div=
><div>I&#39;d rather just allow passing in the location to build the scons-=
local and not copy it after it&#39;s been constructed.</div><div>Seems a mu=
ch simpler method.</div><div><br></div></div><br><div class=3D"gmail_quote"=
><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Sep 7, 2020 at 1:03 PM anato=
ly techtonik &lt;<a href=3D"mailto:[email protected]">[email protected]=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
On Mon, Sep 7, 2020 at 6:13 PM Bill Deegan &lt;<a href=3D"mailto:bill@baddo=
gconsulting.com" target=3D"_blank">bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org</a>&gt; wrote:=
<br>
&gt;<br>
&gt; yes. it belongs in the users mailing list.<br>
&gt; It&#39;s about using scons.<br>
&gt; (whether that&#39;s about installing scons it doesn&#39;t matter)<br>
&gt;<br>
&gt; So you&#39;re proposing to add this logic into SCons&#39; own SConstru=
ct?<br>
<br>
Exactly. PR message asked to discuss it first.<br>
<br>
&gt; On Mon, Sep 7, 2020 at 11:01 AM anatoly techtonik &lt;<a href=3D"mailt=
o:[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:=
<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Sep 6, 2020 at 12:23 AM Bill Deegan &lt;<a href=3D"mailto:=
bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org" target=3D"_blank">bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org</a>&=
gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; probably should be on the users mailing list.<br>
&gt;&gt;<br>
&gt;&gt; Not really. I want to add a feature to copy scons-local to another=
<br>
&gt;&gt; project directory without zipping and unzipping it.<br>
&gt;&gt;<br>
&gt;&gt; &gt; Go take a look at the manpage.<br>
&gt;&gt; &gt; I think env.Install() is what you want..<br>
&gt;&gt;<br>
&gt;&gt; <a href=3D"https://scons.org/doc/4.0.1/HTML/scons-user/ch11.html" =
rel=3D"noreferrer" target=3D"_blank">https://scons.org/doc/4.0.1/HTML/scons=
-user/ch11.html</a><br>
&gt;&gt; Looks like installation is just a copy. Or is there something I mi=
ssed?<br>
&gt;&gt;<br>
&gt;&gt; &gt; On Sat, Sep 5, 2020 at 10:33 AM anatoly techtonik &lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&g=
t; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Is it possible to create a build command that will copy<b=
r>
&gt;&gt; &gt;&gt; SCons local to the target directory?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0SCons/ -&gt; /path/to/project/SCons/<b=
r>
&gt;&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0scripts/scons.py -&gt; /path/to/projec=
t/scons<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I haven&#39;t used SCons for a while and I don&#39;t reme=
mber<br>
&gt;&gt; &gt;&gt; how to create phony target &quot;copyto&quot; and handle =
path<br>
&gt;&gt; &gt;&gt; parameter to it.<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; anatoly t.<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; Scons-dev mailing list<br>
&gt;&gt; &gt;&gt; <a href=3D"mailto:[email protected]" target=3D"_blank">=
[email protected]</a><br>
&gt;&gt; &gt;&gt; <a href=3D"https://pairlist2.pair.net/mailman/listinfo/sc=
ons-dev" rel=3D"noreferrer" target=3D"_blank">https://pairlist2.pair.net/ma=
ilman/listinfo/scons-dev</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Scons-dev mailing list<br>
&gt;&gt; &gt; <a href=3D"mailto:[email protected]" target=3D"_blank">Scon=
[email protected]</a><br>
&gt;&gt; &gt; <a href=3D"https://pairlist2.pair.net/mailman/listinfo/scons-=
dev" rel=3D"noreferrer" target=3D"_blank">https://pairlist2.pair.net/mailma=
n/listinfo/scons-dev</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; anatoly t.<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Scons-dev mailing list<br>
&gt;&gt; <a href=3D"mailto:[email protected]" target=3D"_blank">Scons-dev=
@scons.org</a><br>
&gt;&gt; <a href=3D"https://pairlist2.pair.net/mailman/listinfo/scons-dev" =
rel=3D"noreferrer" target=3D"_blank">https://pairlist2.pair.net/mailman/lis=
tinfo/scons-dev</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Scons-dev mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank">Scons-dev@sco=
ns.org</a><br>
&gt; <a href=3D"https://pairlist2.pair.net/mailman/listinfo/scons-dev" rel=
=3D"noreferrer" target=3D"_blank">https://pairlist2.pair.net/mailman/listin=
fo/scons-dev</a><br>
<br>
<br>
<br>
-- <br>
anatoly t.<br>
_______________________________________________<br>
Scons-dev mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
g</a><br>
<a href=3D"https://pairlist2.pair.net/mailman/listinfo/scons-dev" rel=3D"no=
referrer" target=3D"_blank">https://pairlist2.pair.net/mailman/listinfo/sco=
ns-dev</a><br>
</blockquote></div>

--0000000000001cefca05aecef19b--

--===============5684276102865129380==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

--===============5684276102865129380==--