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'd rather just allow passing in the location to build the scons-= local and not copy it after it'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 <<a href=3D"mailto:[email protected]">[email protected]= </a>> 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 <<a href=3D"mailto:bill@baddo= gconsulting.com" target=3D"_blank">bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org</a>> wrote:= <br> ><br> > yes. it belongs in the users mailing list.<br> > It's about using scons.<br> > (whether that's about installing scons it doesn't matter)<br> ><br> > So you're proposing to add this logic into SCons' own SConstru= ct?<br> <br> Exactly. PR message asked to discuss it first.<br> <br> > On Mon, Sep 7, 2020 at 11:01 AM anatoly techtonik <<a href=3D"mailt= o:[email protected]" target=3D"_blank">[email protected]</a>> wrote:= <br> >><br> >> On Sun, Sep 6, 2020 at 12:23 AM Bill Deegan <<a href=3D"mailto:= bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org" target=3D"_blank">bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org</a>&= gt; wrote:<br> >> ><br> >> > probably should be on the users mailing list.<br> >><br> >> Not really. I want to add a feature to copy scons-local to another= <br> >> project directory without zipping and unzipping it.<br> >><br> >> > Go take a look at the manpage.<br> >> > I think env.Install() is what you want..<br> >><br> >> <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> >> Looks like installation is just a copy. Or is there something I mi= ssed?<br> >><br> >> > On Sat, Sep 5, 2020 at 10:33 AM anatoly techtonik <<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&g= t; wrote:<br> >> >><br> >> >> Hi.<br> >> >><br> >> >> Is it possible to create a build command that will copy<b= r> >> >> SCons local to the target directory?<br> >> >><br> >> >>=C2=A0 =C2=A0 =C2=A0SCons/ -> /path/to/project/SCons/<b= r> >> >>=C2=A0 =C2=A0 =C2=A0scripts/scons.py -> /path/to/projec= t/scons<br> >> >><br> >> >> I haven't used SCons for a while and I don't reme= mber<br> >> >> how to create phony target "copyto" and handle = path<br> >> >> parameter to it.<br> >> >> --<br> >> >> anatoly t.<br> >> >> _______________________________________________<br> >> >> Scons-dev mailing list<br> >> >> <a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a><br> >> >> <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> >> ><br> >> > _______________________________________________<br> >> > Scons-dev mailing list<br> >> > <a href=3D"mailto:[email protected]" target=3D"_blank">Scon= [email protected]</a><br> >> > <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> >><br> >><br> >><br> >> --<br> >> anatoly t.<br> >> _______________________________________________<br> >> Scons-dev mailing list<br> >> <a href=3D"mailto:[email protected]" target=3D"_blank">Scons-dev= @scons.org</a><br> >> <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> ><br> > _______________________________________________<br> > Scons-dev mailing list<br> > <a href=3D"mailto:[email protected]" target=3D"_blank">Scons-dev@sco= ns.org</a><br> > <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==--