[Scons-dev] pip install scons

Jason Kenny dragon512 at live.com
Sun Mar 27 19:40:10 EDT 2016


I think when this came up before there was a desire for three method.


1)      Pip install as a primary method. Allow people to depend on it.

2)      RPM, MSI… cases for people that cannot use pip for firewall reasons

3)      Scons local for cases in which people want to install Scons in a more system independent way, such as checking source in internal source control, so it just works with need to install on system.

Supporting 1) correctly allow 2) to work as a side effect of different package outputs as I understand.
I think 3) is needed very much.
I am not sure we have a need to support more than on install directly. I will defer if someone feels this needs to support, however every case I have seen installing one version of SCons is enough. I only ever used more than on version of SCons at a time to help me test stuff in Parts. I could easily have done this with virtual env as well.

Jason

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Bill Deegan<mailto:bill at baddogconsulting.com>
Sent: Friday, March 25, 2016 12:43 PM
To: SCons developer list<mailto:scons-dev at scons.org>
Subject: Re: [Scons-dev] pip install scons

One question for the user base would be if anyone uses this ability anymore?
If not, good let's drop it.

I'm all for moving to a pip based install as the primary method, with
scons-local still supported.
Though perhaps single file scons-local would be useful and/or better?

Thoughts?
-Bill

On Thu, Mar 24, 2016 at 8:06 AM, Jason Kenny <dragon512 at live.com> wrote:

> I am unclear on what the direction going forward is for side by side
> installs of SCons.
>
>
>
> I thought there was some talk that multiple version might be supported
> with VirtualEnv.
>
>
>
> Jason
>
>
>
> *From: *anatoly techtonik <techtonik at gmail.com>
> *Sent: *Wednesday, March 23, 2016 6:41 AM
>
> *To: *SCons developer list <scons-dev at scons.org>
> *Subject: *Re: [Scons-dev] pip install scons
>
>
> Here is SO bug
> https://stackoverflow.com/questions/14296531/what-does-error-option-single-version-externally-managed-not-recognized-ind
>
> I think that the culprit is that SCons historically allowed to install
> multiple versions of itself side by side. Maybe that's not actual
> anymore?
>
> On Thu, Mar 10, 2016 at 2:01 AM, Jason Kenny <dragon512 at live.com> wrote:
> > Ya,
> >
> >
> >
> > So no change.
> >
> >
> >
> > Oddly enough it works on Ubuntu, but fails on Red Hat, and Windows.
> >
> >
> >
> > Jason
> >
> >
> >
> >
> >
> > From: Jason Kenny
> > Sent: Wednesday, March 9, 2016 4:51 PM
> > To: Bill Deegan
> >
> >
> > Cc: SCons developer list
> > Subject: Re: [Scons-dev] pip install scons
> >
> >
> >
> >
> >
> > Bill,
> >
> > I think the point of this is that it is the latest version. Pip 8.1 is
> the
> > latest and it is failing.
> >
> >
> >
> > I will try to see if a reinstall will correct the issues
> >
> >
> >
> > Jason
> >
> >
> >
> >
> >
> > From: Bill Deegan
> > Sent: Wednesday, March 9, 2016 2:30 PM
> > To: Jason Kenny
> > Cc: SCons developer list
> > Subject: Re: [Scons-dev] pip install scons
> >
> >
> >
> > Jason,
> >
> > O.k. I've seen that before, but if you upgrade to latest pip
> > (pip install --upgrade pip)
> > It should install fine.
> >
> > You're issue is covered in bug:
> > http://scons.tigris.org/issues/show_bug.cgi?id=2769
> >
> > I'll take another look at it today if I get a chance.
> > -Bill
> >
> > On Wed, Mar 9, 2016 at 1:59 PM, Jason Kenny <dragon512 at live.com> wrote:
> >
> > Hi Bill,
> >
> >
> >
> > One windows and Linux the error is the same…
> >
> >> python --version
> >
> > Python 2.7.10
> >
> >> pip --version
> >
> > pip 8.1.2 from C:\Python27\lib\site-packages (python 2.7)
> >
> >>pip install scons
> >
> > Collecting scons
> >
> >   Using cached scons-2.4.1.tar.gz
> >
> > Installing collected packages: scons
> >
> >   Running setup.py install for scons ... error
> >
> >     Complete output from command c:\python27\python.exe -u -c "import
> > setuptools, tokenize;__file__='c:\\users\\master\\
> >
> >
> appdata\\local\\temp\\pip-build-wv5sur\\scons\\setup.py';exec(compile(getattr(tokenize,
> > 'open', open)(__file__).read().r
> >
> > eplace('\r\n', '\n'), __file__, 'exec'))" install --record
> > c:\users\master\appdata\local\temp\pip-4cj9x2-record\install-
> >
> > record.txt --single-version-externally-managed --compile:
> >
> >     usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> >
> >        or: -c --help [cmd1 cmd2 ...]
> >
> >        or: -c --help-commands
> >
> >        or: -c cmd --help
> >
> >
> >
> >     error: option --single-version-externally-managed not recognized
> >
> >
> >
> >     ----------------------------------------
> >
> > Command "c:\python27\python.exe -u -c "import setuptools,
> > tokenize;__file__='c:\\users\\master\\appdata\\local\\temp\\pi
> >
> > p-build-wv5sur\\scons\\setup.py';exec(compile(getattr(tokenize, 'open',
> > open)(__file__).read().replace('\r\n', '\n'), __
> >
> > file__, 'exec'))" install --record
> > c:\users\master\appdata\local\temp\pip-4cj9x2-record\install-record.txt
> > --single-vers
> >
> > ion-externally-managed --compile" failed with error code 1 in
> > c:\users\master\appdata\local\temp\pip-build-wv5sur\scons\
> >
> >
> >
> > I added in bold what the main error seems to be. I see this for Linux and
> > Windows ( have not tried Mac)
> >
> > Jason
> >
> >
> >
> > Sent from Mail for Windows 10
> >
> >
> >
> > From: Bill Deegan
> > Sent: Wednesday, March 9, 2016 11:08 AM
> > To: SCons developer list
> > Subject: Re: [Scons-dev] pip install scons
> >
> >
> >
> > Jason,
> >
> > As far as I know, if you have an updated version of pip it works.
> > If you're seeing otherwise with current version of SCons, please post
> what
> > errors you're seeing.
> >
> > -Bill
> >
> > On Wed, Mar 9, 2016 at 11:54 AM, Jason Kenny <dragon512 at live.com> wrote:
> >
> > HI guys,
> >
> >
> >
> > What is the status of pip install of SCons. I been trying to integrate
> this
> > with Parts, as well use it for some other projects via automating a pip
> > install. On windows and Linux I am having failures.
> >
> >
> >
> > Is anyone else seeing these issue, or is this known to not be stable?
> >
> >
> >
> > Thanks
> >
> > Jason
> >
> >
> >
> >
> > _______________________________________________
> > Scons-dev mailing list
> > Scons-dev at scons.org
> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
> >
> >
> >
> >
> > _______________________________________________
> > Scons-dev mailing list
> > Scons-dev at scons.org
> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
> >
>
>
>
> --
> anatoly t.
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160327/6d47f459/attachment.html>
-------------- next part --------------
_______________________________________________
Scons-dev mailing list
Scons-dev at scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


More information about the Scons-dev mailing list