Re: scons copyto /path/to/project

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> Fri, 11 Sep 2020 13:53:47 -0400
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CE9cPkGB2peSQsOg=KKZs0spT_8OyYGCZH7_4nXfZ5nPg@mail.gmail.com>
--===============3357866581530014118==
Content-Type: multipart/alternative; boundary="000000000000900d7e05af0d5e14"

--000000000000900d7e05af0d5e14
Content-Type: text/plain; charset="UTF-8"

no more likely
scons SCONS_LOCAL_DIR=/path/to/where/I/want/it scons-local

On Fri, Sep 11, 2020 at 2:50 AM anatoly techtonik <[email protected]>
wrote:

> Do you mean the command will becomes `scons scons-local /path/to/project`?
>
> I still haven't found the way to pass the location to either command.
>
> On Tue, Sep 8, 2020 at 6:25 PM Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
> wrote:
> >
> > 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
> >
> > _______________________________________________
> > 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
>

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

<div dir=3D"ltr"><div>no more likely</div><div>scons SCONS_LOCAL_DIR=3D/pat=
h/to/where/I/want/it scons-local<br></div></div><br><div class=3D"gmail_quo=
te"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Sep 11, 2020 at 2:50 AM a=
natoly techtonik &lt;<a href=3D"mailto:[email protected]">techtonik@gmail=
.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex">Do you mean the command will becomes `scons scons-local /path/to/projec=
t`?<br>
<br>
I still haven&#39;t found the way to pass the location to either command.<b=
r>
<br>
On Tue, Sep 8, 2020 at 6:25 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; This is probably the wrong way to go about this.<br>
&gt; I&#39;d rather just allow passing in the location to build the scons-l=
ocal and not copy it after it&#39;s been constructed.<br>
&gt; Seems a much simpler method.<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Sep 7, 2020 at 1:03 PM anatoly techtonik &lt;<a href=3D"mailto=
:[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:<=
br>
&gt;&gt;<br>
&gt;&gt; On Mon, Sep 7, 2020 at 6:13 PM Bill Deegan &lt;<a href=3D"mailto:b=
ill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org" target=3D"_blank">bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org</a>&g=
t; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; yes. it belongs in the users mailing list.<br>
&gt;&gt; &gt; It&#39;s about using scons.<br>
&gt;&gt; &gt; (whether that&#39;s about installing scons it doesn&#39;t mat=
ter)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; So you&#39;re proposing to add this logic into SCons&#39; own=
 SConstruct?<br>
&gt;&gt;<br>
&gt;&gt; Exactly. PR message asked to discuss it first.<br>
&gt;&gt;<br>
&gt;&gt; &gt; On Mon, Sep 7, 2020 at 11:01 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; 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@baddogconsulti=
ng.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; probably should be on the users mailing list.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Not really. I want to add a feature to copy scons-local t=
o another<br>
&gt;&gt; &gt;&gt; project directory without zipping and unzipping it.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; Go take a look at the manpage.<br>
&gt;&gt; &gt;&gt; &gt; I think env.Install() is what you want..<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; <a href=3D"https://scons.org/doc/4.0.1/HTML/scons-user/ch=
11.html" rel=3D"noreferrer" target=3D"_blank">https://scons.org/doc/4.0.1/H=
TML/scons-user/ch11.html</a><br>
&gt;&gt; &gt;&gt; Looks like installation is just a copy. Or is there somet=
hing I missed?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; On Sat, Sep 5, 2020 at 10:33 AM anatoly techtonik &l=
t;<a href=3D"mailto:[email protected]" target=3D"_blank">techtonik@gmail.=
com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Hi.<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Is it possible to create a build command that wi=
ll copy<br>
&gt;&gt; &gt;&gt; &gt;&gt; SCons local to the target directory?<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0SCons/ -&gt; /path/to/project=
/SCons/<br>
&gt;&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0scripts/scons.py -&gt; /path/=
to/project/scons<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; I haven&#39;t used SCons for a while and I don&#=
39;t remember<br>
&gt;&gt; &gt;&gt; &gt;&gt; how to create phony target &quot;copyto&quot; an=
d handle path<br>
&gt;&gt; &gt;&gt; &gt;&gt; parameter to it.<br>
&gt;&gt; &gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; &gt;&gt; anatoly t.<br>
&gt;&gt; &gt;&gt; &gt;&gt; _______________________________________________<=
br>
&gt;&gt; &gt;&gt; &gt;&gt; Scons-dev mailing list<br>
&gt;&gt; &gt;&gt; &gt;&gt; <a href=3D"mailto:[email protected]" target=3D=
"_blank">[email protected]</a><br>
&gt;&gt; &gt;&gt; &gt;&gt; <a href=3D"https://pairlist2.pair.net/mailman/li=
stinfo/scons-dev" rel=3D"noreferrer" target=3D"_blank">https://pairlist2.pa=
ir.net/mailman/listinfo/scons-dev</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; &gt; Scons-dev mailing list<br>
&gt;&gt; &gt;&gt; &gt; <a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a><br>
&gt;&gt; &gt;&gt; &gt; <a href=3D"https://pairlist2.pair.net/mailman/listin=
fo/scons-dev" rel=3D"noreferrer" target=3D"_blank">https://pairlist2.pair.n=
et/mailman/listinfo/scons-dev</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<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>

--000000000000900d7e05af0d5e14--

--===============3357866581530014118==
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

--===============3357866581530014118==--