Yes and No, The standard build of python with 2.7 contains an script to ensure pip is installed. Ideally when one installs pip the command:
python -m ensurepip https://docs.python.org/2.7/library/ensurepip.html When you install python windows for example you get this, and it will be upgraded to the latest version of pip. The same process exists on Linux, however I have noticed that many distros seem to not add pip, and instead want the user to install packages via, yum, df, apt-get instead of pip. The problem have seen of this is that these packages are not the up-to-date ones or the package may not be in the cloned in the given Linux distro. This can be worked around by the user, given they have access to the internet, or have copied of the packages or whl files locally. Ideally I think we can provide a whl file install with all the depends in it and links to get the pip packages to install locally if they don’t have access to the internet as is all to common in many enterprise setups. Or we can just tweak the current src-local local install so we add any depends we have in SCons added to the local package. I don’t think requiring pip is a big issue. However many people may not have pip installed with python 2.7 or 3 only because the Linux distro tries to side step its usage. Jason From: Dirk Baechle Sent: Sunday, December 27, 2015 12:53 PM To: SCons developer list Subject: Re: [Scons-dev] That was easy… Hi, isn't pip now provided along with a standard Python distro since 2.7.x? There shouldn't be any additional hurdles, once you have Python installed... Regards, Dirk Am 27. Dezember 2015 19:06:47 MEZ, schrieb Alexandre Feblot <[email protected]>: Hi, If SCons should move to using pip to be installed, I do hope there would still be as well a simple archive delivery. We try to keep our servers with as little installed softwares/packages as possible, and adding the need to take care of having a working pip on every linux/aix/solaris/windows server would be an additional hassle. Also, I suppose pip would make life harder for projects that need to compile on servers with no internet access. Le 27 déc. 2015 à 18:02, Jason Kenny <[email protected]> a écrit : In the current form yes. We can use features in pip to get the packages and install them in a directory contained within the src-local area of scons and modify the startup script to add a python path to the packages. This can be zipped up and used to solve this problem. I did something like this for one of my last projects at Intel. Jason From: Bill Deegan Sent: Saturday, December 26, 2015 9:23 PM To: SCons developer list Subject: Re: [Scons-dev] That was easy… The only question is would this break the scons-local distributions? On Sat, Dec 26, 2015 at 6:13 PM, Jason Kenny <[email protected]> wrote: +1 Sent from my Windows Phone -----Original Message----- From: "Bill Deegan" <[email protected]> Sent: 12/26/2015 7:00 PM To: "SCons developer list" <[email protected]> Subject: Re: [Scons-dev] That was easy… If we change to suggesting pip/easy_install to be the preferred method of installing, then we can include any other packages we need and not have to "Vendorize" them. On Sat, Dec 26, 2015 at 9:19 AM, Russel Winder <[email protected]> wrote: On Fri, 2015-12-25 at 13:15 -0500, Neal Becker wrote: > […] > > I should have said, I don't think we can make installing future a > requirement for using scons. > > In my case, I was using lineprofiler. It does something strange > with > builtins, and the reason lineprofiler mysteriously stopped working > after > future was installed was hard to find. So the consequence of this is that we can only go to a level 1 futurize and then the rest needs to be manually hacked so that there is no future dependency? I suspect this means we will end up rewriting quite a chunk of future, though not the bits needed for Python 2.6. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder _______________________________________________ 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 _______________________________________________ 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 -- Sent from my Android with K-9 Mail.
_______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev
