Re: [Scons-dev] SCons 2.5.0 Released

2016-04-14 Thread Jason Kenny
Wow so quick :)

 

You might want to add to setup.py something like ( From Parts… ie what makes 
the parts script/exe.. which for me just prints out a version number of Parts)

 

entry_points={

'console_scripts': [ 'parts=parts.version_info:parts_version_text' ],

},

 

Here is a quick link to get started on what this is.

 

http://stackoverflow.com/questions/774824/explain-python-entry-points

https://pythonhosted.org/setuptools/pkg_resources.html#entry-points

 

This replaces the need to have a scons.bat as this does the setup entry point 
work and makes a scons.exe. On linux it make a matching shell script with the 
correct #! Stuff at the start

 

Hope this helps

 

Jason

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 5:50 PM
To: SCons developer list 
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

I hid the 2.5.0.post1 package..

work continues..

 

On Thu, Apr 14, 2016 at 6:43 PM, Bill Deegan  > wrote:

Hmm... It installed o.k but it doesn't run.

(no .bat's installed)

 

On Thu, Apr 14, 2016 at 6:21 PM, Bill Deegan  > wrote:

I think I've resolved the issue.

I built a wheel and uploaded both that and the sdist to pypi.

I bumped the version string to 2.5.0-1 which shows up on pypi as 


SCons 2.5.0.post1


Please give it a try. It seems to work for me.

-Bill

 

On Thu, Apr 14, 2016 at 4:02 PM, Bill Deegan  > wrote:

Jason,

Yup. I agree still a bug.

Does explain why I wasn't seeing it when I tried to reproduce.

I'll see if I can resolve.

-Bill

 

On Thu, Apr 14, 2016 at 2:15 PM, Jason Kenny  > wrote:

Well that seems to be the clue.

 

I did the test again with a virtualenv setup and it works on window/mac/etc 
just fine. It fails when not installing into a virtualenv setup.

 

I think that still is a bug. However at least there is some reason why this 
fails outside a virtualenv constantly.

 

Jason

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org 
 ] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 12:52 PM


To: SCons developer list  >
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Works for me on mac.. (in a virtualenv)

 pip install scons
Collecting scons
Installing collected packages: scons
Successfully installed scons-2.5.0
(venv)ProDog:tmp bdbaddog$ pip --version
pip 8.1.1 from /Users/bdbaddog/tmp/venv/lib/python2.7/site-packages (python 2.7)
(venv)ProDog:tmp bdbaddog$ scons --version
SCons by Steven Knight et al.:
script: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09 14:38:50, 
by bdbaddog on ubuntu1404-32bit
engine: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09 14:38:50, 
by bdbaddog on ubuntu1404-32bit
engine path: 
['/Users/bdbaddog/tmp/venv/lib/python2.7/site-packages/scons-2.5.0/SCons']
Copyright (c) 2001 - 2016 The SCons Foundation

-Bill

 

On Thu, Apr 14, 2016 at 1:36 PM, Jason Kenny  > wrote:

Yes, and my Mac at work as well… using pip 8.1.1

 

sudo -H pip install scons

Collecting scons

  Downloading scons-2.5.0.tar.gz (620kB)

100% || 622kB 585kB/s 

Installing collected packages: scons

  Running setup.py install for scons ... error

Complete output from command /usr/bin/python -u -c "import setuptools, 
tokenize;__file__='/private/tmp/pip-build-aojj8g/scons/setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /tmp/pip-LQaie_-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

 

 

Like I said the only system I have that works is a Ubuntu system.

 

Jason

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org 
 ] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 12:30 PM


To: SCons developer list  >
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Jason,

You get this issue on fedora and RHEL with latest pip as well?

-Bill

 

On Thu, Apr 14, 2016 at 1:28 PM, Jason Kenny  > wrote:

I was getting this on fedora as well and RHEL.

 

So I don’t think it 100% a windows issue.

 

Jason

 

From: Scons-dev [mailto:  
scons-dev-boun...@scons.org] On Behalf Of Bill Deegan
Sent: 

Re: [Scons-dev] SCons 2.5.0 Released

2016-04-14 Thread Bill Deegan
I hid the 2.5.0.post1 package..
work continues..

On Thu, Apr 14, 2016 at 6:43 PM, Bill Deegan 
wrote:

> Hmm... It installed o.k but it doesn't run.
> (no .bat's installed)
>
> On Thu, Apr 14, 2016 at 6:21 PM, Bill Deegan 
> wrote:
>
>> I think I've resolved the issue.
>> I built a wheel and uploaded both that and the sdist to pypi.
>>
>> I bumped the version string to 2.5.0-1 which shows up on pypi as
>> SCons 2.5.0.post1
>>
>> Please give it a try. It seems to work for me.
>>
>> -Bill
>>
>> On Thu, Apr 14, 2016 at 4:02 PM, Bill Deegan 
>> wrote:
>>
>>> Jason,
>>>
>>> Yup. I agree still a bug.
>>> Does explain why I wasn't seeing it when I tried to reproduce.
>>> I'll see if I can resolve.
>>>
>>> -Bill
>>>
>>> On Thu, Apr 14, 2016 at 2:15 PM, Jason Kenny  wrote:
>>>
 Well that seems to be the clue.



 I did the test again with a virtualenv setup and it works on
 window/mac/etc just fine. It fails when not installing into a virtualenv
 setup.



 I think that still is a bug. However at least there is some reason why
 this fails outside a virtualenv constantly.



 Jason



 *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
 Deegan
 *Sent:* Thursday, April 14, 2016 12:52 PM

 *To:* SCons developer list 
 *Subject:* Re: [Scons-dev] SCons 2.5.0 Released



 Works for me on mac.. (in a virtualenv)

  pip install scons
 Collecting scons
 Installing collected packages: scons
 Successfully installed scons-2.5.0
 (venv)ProDog:tmp bdbaddog$ pip --version
 pip 8.1.1 from /Users/bdbaddog/tmp/venv/lib/python2.7/site-packages
 (python 2.7)
 (venv)ProDog:tmp bdbaddog$ scons --version
 SCons by Steven Knight et al.:
 script: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09
 14:38:50, by bdbaddog on ubuntu1404-32bit
 engine: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09
 14:38:50, by bdbaddog on ubuntu1404-32bit
 engine path:
 ['/Users/bdbaddog/tmp/venv/lib/python2.7/site-packages/scons-2.5.0/SCons']
 Copyright (c) 2001 - 2016 The SCons Foundation

 -Bill



 On Thu, Apr 14, 2016 at 1:36 PM, Jason Kenny 
 wrote:

 Yes, and my Mac at work as well… using pip 8.1.1



 sudo -H pip install scons

 Collecting scons

   Downloading scons-2.5.0.tar.gz (620kB)

 100% || 622kB 585kB/s

 Installing collected packages: scons

   Running setup.py install for scons ... error

 Complete output from command /usr/bin/python -u -c "import
 setuptools,
 tokenize;__file__='/private/tmp/pip-build-aojj8g/scons/setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
 install --record /tmp/pip-LQaie_-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





 Like I said the only system I have that works is a Ubuntu system.



 Jason



 *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
 Deegan
 *Sent:* Thursday, April 14, 2016 12:30 PM


 *To:* SCons developer list 
 *Subject:* Re: [Scons-dev] SCons 2.5.0 Released



 Jason,

 You get this issue on fedora and RHEL with latest pip as well?

 -Bill



 On Thu, Apr 14, 2016 at 1:28 PM, Jason Kenny 
 wrote:

 I was getting this on fedora as well and RHEL.



 So I don’t think it 100% a windows issue.



 Jason



 *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
 Deegan
 *Sent:* Thursday, April 14, 2016 12:28 PM


 *To:* SCons developer list 
 *Subject:* Re: [Scons-dev] SCons 2.5.0 Released



 Jason,

 I reproduced this on my windows box.

 Curious that it seems to be windows only issue.

 I'll see if I can resolve.

 -Bill



 On Thu, Apr 14, 2016 at 12:50 PM, Jason Kenny 
 wrote:

 Hope you are feeling better!



 Thanks

 Jason



 *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
 Deegan
 *Sent:* Thursday, 

Re: [Scons-dev] SCons 2.5.0 Released

2016-04-14 Thread Bill Deegan
Jason,

Yup. I agree still a bug.
Does explain why I wasn't seeing it when I tried to reproduce.
I'll see if I can resolve.

-Bill

On Thu, Apr 14, 2016 at 2:15 PM, Jason Kenny  wrote:

> Well that seems to be the clue.
>
>
>
> I did the test again with a virtualenv setup and it works on
> window/mac/etc just fine. It fails when not installing into a virtualenv
> setup.
>
>
>
> I think that still is a bug. However at least there is some reason why
> this fails outside a virtualenv constantly.
>
>
>
> Jason
>
>
>
> *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
> Deegan
> *Sent:* Thursday, April 14, 2016 12:52 PM
>
> *To:* SCons developer list 
> *Subject:* Re: [Scons-dev] SCons 2.5.0 Released
>
>
>
> Works for me on mac.. (in a virtualenv)
>
>  pip install scons
> Collecting scons
> Installing collected packages: scons
> Successfully installed scons-2.5.0
> (venv)ProDog:tmp bdbaddog$ pip --version
> pip 8.1.1 from /Users/bdbaddog/tmp/venv/lib/python2.7/site-packages
> (python 2.7)
> (venv)ProDog:tmp bdbaddog$ scons --version
> SCons by Steven Knight et al.:
> script: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09
> 14:38:50, by bdbaddog on ubuntu1404-32bit
> engine: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09
> 14:38:50, by bdbaddog on ubuntu1404-32bit
> engine path:
> ['/Users/bdbaddog/tmp/venv/lib/python2.7/site-packages/scons-2.5.0/SCons']
> Copyright (c) 2001 - 2016 The SCons Foundation
>
> -Bill
>
>
>
> On Thu, Apr 14, 2016 at 1:36 PM, Jason Kenny  wrote:
>
> Yes, and my Mac at work as well… using pip 8.1.1
>
>
>
> sudo -H pip install scons
>
> Collecting scons
>
>   Downloading scons-2.5.0.tar.gz (620kB)
>
> 100% || 622kB 585kB/s
>
> Installing collected packages: scons
>
>   Running setup.py install for scons ... error
>
> Complete output from command /usr/bin/python -u -c "import setuptools,
> tokenize;__file__='/private/tmp/pip-build-aojj8g/scons/setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record /tmp/pip-LQaie_-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
>
>
>
>
>
> Like I said the only system I have that works is a Ubuntu system.
>
>
>
> Jason
>
>
>
> *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
> Deegan
> *Sent:* Thursday, April 14, 2016 12:30 PM
>
>
> *To:* SCons developer list 
> *Subject:* Re: [Scons-dev] SCons 2.5.0 Released
>
>
>
> Jason,
>
> You get this issue on fedora and RHEL with latest pip as well?
>
> -Bill
>
>
>
> On Thu, Apr 14, 2016 at 1:28 PM, Jason Kenny  wrote:
>
> I was getting this on fedora as well and RHEL.
>
>
>
> So I don’t think it 100% a windows issue.
>
>
>
> Jason
>
>
>
> *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
> Deegan
> *Sent:* Thursday, April 14, 2016 12:28 PM
>
>
> *To:* SCons developer list 
> *Subject:* Re: [Scons-dev] SCons 2.5.0 Released
>
>
>
> Jason,
>
> I reproduced this on my windows box.
>
> Curious that it seems to be windows only issue.
>
> I'll see if I can resolve.
>
> -Bill
>
>
>
> On Thu, Apr 14, 2016 at 12:50 PM, Jason Kenny  wrote:
>
> Hope you are feeling better!
>
>
>
> Thanks
>
> Jason
>
>
>
> *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
> Deegan
> *Sent:* Thursday, April 14, 2016 11:49 AM
>
>
> *To:* SCons developer list 
> *Subject:* Re: [Scons-dev] SCons 2.5.0 Released
>
>
>
> Sorry.. came down with a stomach flu this week and though I plan to get
> lots done it's just sucking the energy out of me.
>
> I'll try to give this a shot today.
>
> -Bill
>
>
>
> On Thu, Apr 14, 2016 at 11:13 AM, Jason Kenny  wrote:
>
> Hi, just pinging on this subject?
>
>
>
> Jason
>
>
>
>
>
> *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
> Deegan
> *Sent:* Monday, April 11, 2016 8:41 PM
> *To:* SCons developer list 
>
>
> *Subject:* Re: [Scons-dev] SCons 2.5.0 Released
>
>
>
> Jason,
>
> I'll try it on my windows box tomorrow.
>
> -Bill
>
>
>
> On Mon, Apr 11, 2016 at 8:21 PM, Jason Kenny  wrote:
>
> Hi Bill,
>
>
>
> I have tried this on different system. Below is from a fresh VM of windows
> with python 2.7.11. I believe only Ubuntu has worked in at all. Fedora and
> Mac and other system fails the same basic way of
> --single-version-externally-managed is unknown option.
>
>
>
> PS C:\WINDOWS\system32> python -m pip install --upgrade pip
> Collecting pip

Re: [Scons-dev] SCons 2.5.0 Released

2016-04-14 Thread Jason Kenny
Well that seems to be the clue.

 

I did the test again with a virtualenv setup and it works on window/mac/etc 
just fine. It fails when not installing into a virtualenv setup.

 

I think that still is a bug. However at least there is some reason why this 
fails outside a virtualenv constantly.

 

Jason

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 12:52 PM
To: SCons developer list 
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Works for me on mac.. (in a virtualenv)

 pip install scons
Collecting scons
Installing collected packages: scons
Successfully installed scons-2.5.0
(venv)ProDog:tmp bdbaddog$ pip --version
pip 8.1.1 from /Users/bdbaddog/tmp/venv/lib/python2.7/site-packages (python 2.7)
(venv)ProDog:tmp bdbaddog$ scons --version
SCons by Steven Knight et al.:
script: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09 14:38:50, 
by bdbaddog on ubuntu1404-32bit
engine: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09 14:38:50, 
by bdbaddog on ubuntu1404-32bit
engine path: 
['/Users/bdbaddog/tmp/venv/lib/python2.7/site-packages/scons-2.5.0/SCons']
Copyright (c) 2001 - 2016 The SCons Foundation

-Bill

 

On Thu, Apr 14, 2016 at 1:36 PM, Jason Kenny  > wrote:

Yes, and my Mac at work as well… using pip 8.1.1

 

sudo -H pip install scons

Collecting scons

  Downloading scons-2.5.0.tar.gz (620kB)

100% || 622kB 585kB/s 

Installing collected packages: scons

  Running setup.py install for scons ... error

Complete output from command /usr/bin/python -u -c "import setuptools, 
tokenize;__file__='/private/tmp/pip-build-aojj8g/scons/setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /tmp/pip-LQaie_-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

 

 

Like I said the only system I have that works is a Ubuntu system.

 

Jason

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org 
 ] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 12:30 PM


To: SCons developer list  >
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Jason,

You get this issue on fedora and RHEL with latest pip as well?

-Bill

 

On Thu, Apr 14, 2016 at 1:28 PM, Jason Kenny  > wrote:

I was getting this on fedora as well and RHEL.

 

So I don’t think it 100% a windows issue.

 

Jason

 

From: Scons-dev [mailto:  
scons-dev-boun...@scons.org] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 12:28 PM


To: SCons developer list <  scons-dev@scons.org>
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Jason,

I reproduced this on my windows box.

Curious that it seems to be windows only issue.

I'll see if I can resolve.

-Bill

 

On Thu, Apr 14, 2016 at 12:50 PM, Jason Kenny <  
dragon...@live.com> wrote:

Hope you are feeling better!

 

Thanks

Jason

 

From: Scons-dev [mailto:  
scons-dev-boun...@scons.org] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 11:49 AM


To: SCons developer list <  scons-dev@scons.org>
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Sorry.. came down with a stomach flu this week and though I plan to get lots 
done it's just sucking the energy out of me.

I'll try to give this a shot today.

-Bill

 

On Thu, Apr 14, 2016 at 11:13 AM, Jason Kenny <  
dragon...@live.com> wrote:

Hi, just pinging on this subject?

 

Jason

 

 

From: Scons-dev [mailto:  
scons-dev-boun...@scons.org] On Behalf Of Bill Deegan
Sent: Monday, April 11, 2016 8:41 PM
To: SCons developer list <  scons-dev@scons.org>


Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Jason,

I'll try it on my windows box tomorrow.

-Bill

 

On Mon, Apr 11, 2016 at 8:21 PM, Jason Kenny  > wrote:

Hi Bill,

 

I have tried this on different system. Below is from a fresh VM of windows with 
python 2.7.11. I believe only Ubuntu has worked in at all. Fedora and Mac and 
other system fails the same basic way of  --single-version-externally-managed 
is unknown option.

 

PS C:\WINDOWS\system32> python -m pip install --upgrade pip
Collecting pip
  Using cached pip-8.1.1-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 

Re: [Scons-dev] SCons 2.5.0 Released

2016-04-14 Thread Bill Deegan
Jason,

You get this issue on fedora and RHEL with latest pip as well?

-Bill

On Thu, Apr 14, 2016 at 1:28 PM, Jason Kenny  wrote:

> I was getting this on fedora as well and RHEL.
>
>
>
> So I don’t think it 100% a windows issue.
>
>
>
> Jason
>
>
>
> *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
> Deegan
> *Sent:* Thursday, April 14, 2016 12:28 PM
>
> *To:* SCons developer list 
> *Subject:* Re: [Scons-dev] SCons 2.5.0 Released
>
>
>
> Jason,
>
> I reproduced this on my windows box.
>
> Curious that it seems to be windows only issue.
>
> I'll see if I can resolve.
>
> -Bill
>
>
>
> On Thu, Apr 14, 2016 at 12:50 PM, Jason Kenny  wrote:
>
> Hope you are feeling better!
>
>
>
> Thanks
>
> Jason
>
>
>
> *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
> Deegan
> *Sent:* Thursday, April 14, 2016 11:49 AM
>
>
> *To:* SCons developer list 
> *Subject:* Re: [Scons-dev] SCons 2.5.0 Released
>
>
>
> Sorry.. came down with a stomach flu this week and though I plan to get
> lots done it's just sucking the energy out of me.
>
> I'll try to give this a shot today.
>
> -Bill
>
>
>
> On Thu, Apr 14, 2016 at 11:13 AM, Jason Kenny  wrote:
>
> Hi, just pinging on this subject?
>
>
>
> Jason
>
>
>
>
>
> *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Bill
> Deegan
> *Sent:* Monday, April 11, 2016 8:41 PM
> *To:* SCons developer list 
>
>
> *Subject:* Re: [Scons-dev] SCons 2.5.0 Released
>
>
>
> Jason,
>
> I'll try it on my windows box tomorrow.
>
> -Bill
>
>
>
> On Mon, Apr 11, 2016 at 8:21 PM, Jason Kenny  wrote:
>
> Hi Bill,
>
>
>
> I have tried this on different system. Below is from a fresh VM of windows
> with python 2.7.11. I believe only Ubuntu has worked in at all. Fedora and
> Mac and other system fails the same basic way of
> --single-version-externally-managed is unknown option.
>
>
>
> PS C:\WINDOWS\system32> python -m pip install --upgrade pip
> Collecting pip
>   Using cached pip-8.1.1-py2.py3-none-any.whl
> Installing collected packages: pip
>   Found existing installation: pip 7.1.2
> Uninstalling pip-7.1.2:
>   Successfully uninstalled pip-7.1.2
> Successfully installed pip-8.1.1
>
>
>
> PS C:\WINDOWS\system32> pip --version
> pip 8.1.1 from c:\python27\lib\site-packages (python 2.7)
>
>
> PS C:\WINDOWS\system32> pip install scons
> Collecting scons
>   Using cached scons-2.5.0.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\\me\\
> appdata\\local\\temp\\pip-build-0zvxsb\\scons\\setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().r
> eplace('\r\n', '\n'), __file__, 'exec'))" install --record
> c:\users\me\appdata\local\temp\pip-l1ufkk-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\\me\\appdata\\local\\temp\\pi
> p-build-0zvxsb\\scons\\setup.py';exec(compile(getattr(tokenize, 'open',
> open)(__file__).read().replace('\r\n', '\n'), __
> file__, 'exec'))" install --record
> c:\users\me\appdata\local\temp\pip-l1ufkk-record\install-record.txt
> --single-vers
> ion-externally-managed --compile" failed with error code 1 in
> c:\users\me\appdata\local\temp\pip-build-0zvxsb\scons\
>
>
>
>
>
> I know I am not the only one seeing this.
>
>
>
> Jason
> --
>
> Date: Mon, 11 Apr 2016 16:47:41 -0400
> From: b...@baddogconsulting.com
> To: scons-dev@scons.org
> Subject: Re: [Scons-dev] SCons 2.5.0 Released
>
>
>
> pip install works for me.
>
> What version of pip are you running?
>
> I tried the latest and a previous version.
>
> -Bill
>
>
>
> On Mon, Apr 11, 2016 at 4:27 PM, Jason Kenny  wrote:
>
> One other low hanging fruit would be to fix the pip install issues.
>
> Jason
>
> ___
> Scons-dev mailing list
> Scons-dev@scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
>
>
> ___ Scons-dev mailing list
> Scons-dev@scons.org https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
> ___
> Scons-dev mailing list
> Scons-dev@scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
>
>
> ___
> Scons-dev mailing list
> Scons-dev@scons.org
> 

Re: [Scons-dev] SCons 2.5.0 Released

2016-04-14 Thread Jason Kenny
I was getting this on fedora as well and RHEL.

 

So I don’t think it 100% a windows issue.

 

Jason

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 12:28 PM
To: SCons developer list 
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Jason,

I reproduced this on my windows box.

Curious that it seems to be windows only issue.

I'll see if I can resolve.

-Bill

 

On Thu, Apr 14, 2016 at 12:50 PM, Jason Kenny  > wrote:

Hope you are feeling better!

 

Thanks

Jason

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org 
 ] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 11:49 AM


To: SCons developer list  >
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Sorry.. came down with a stomach flu this week and though I plan to get lots 
done it's just sucking the energy out of me.

I'll try to give this a shot today.

-Bill

 

On Thu, Apr 14, 2016 at 11:13 AM, Jason Kenny  > wrote:

Hi, just pinging on this subject?

 

Jason

 

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org 
 ] On Behalf Of Bill Deegan
Sent: Monday, April 11, 2016 8:41 PM
To: SCons developer list  >


Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Jason,

I'll try it on my windows box tomorrow.

-Bill

 

On Mon, Apr 11, 2016 at 8:21 PM, Jason Kenny  > wrote:

Hi Bill,

 

I have tried this on different system. Below is from a fresh VM of windows with 
python 2.7.11. I believe only Ubuntu has worked in at all. Fedora and Mac and 
other system fails the same basic way of  --single-version-externally-managed 
is unknown option.

 

PS C:\WINDOWS\system32> python -m pip install --upgrade pip
Collecting pip
  Using cached pip-8.1.1-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 7.1.2
Uninstalling pip-7.1.2:
  Successfully uninstalled pip-7.1.2
Successfully installed pip-8.1.1

 

PS C:\WINDOWS\system32> pip --version
pip 8.1.1 from c:\python27\lib\site-packages (python 2.7)


PS C:\WINDOWS\system32> pip install scons
Collecting scons
  Using cached scons-2.5.0.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\\me\\
appdata\\local\\temp\\pip-build-0zvxsb\\scons\\setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().r
eplace('\r\n', '\n'), __file__, 'exec'))" install --record 
c:\users\me\appdata\local\temp\pip-l1ufkk-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\\me\\appdata\\local\\temp\\pi
p-build-0zvxsb\\scons\\setup.py';exec(compile(getattr(tokenize, 'open', 
open)(__file__).read().replace('\r\n', '\n'), __
file__, 'exec'))" install --record 
c:\users\me\appdata\local\temp\pip-l1ufkk-record\install-record.txt 
--single-vers
ion-externally-managed --compile" failed with error code 1 in 
c:\users\me\appdata\local\temp\pip-build-0zvxsb\scons\

 

 

I know I am not the only one seeing this.

 

Jason

  _  

Date: Mon, 11 Apr 2016 16:47:41 -0400
From: b...@baddogconsulting.com  
To: scons-dev@scons.org  
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

pip install works for me.

What version of pip are you running?

I tried the latest and a previous version.

-Bill

 

On Mon, Apr 11, 2016 at 4:27 PM, Jason Kenny  > wrote:

One other low hanging fruit would be to fix the pip install issues.

Jason

___
Scons-dev mailing list
Scons-dev@scons.org  
https://pairlist2.pair.net/mailman/listinfo/scons-dev

 


___ Scons-dev mailing list 
Scons-dev@scons.org   
https://pairlist2.pair.net/mailman/listinfo/scons-dev


___
Scons-dev mailing list
Scons-dev@scons.org  
https://pairlist2.pair.net/mailman/listinfo/scons-dev

 


___
Scons-dev mailing list
Scons-dev@scons.org  
https://pairlist2.pair.net/mailman/listinfo/scons-dev

 



Re: [Scons-dev] Two questions…

2016-04-14 Thread Dirk Bächle

Hi,

On 14.04.2016 18:48, Bill Deegan wrote:

Russel,


[...]

Oh and…

3. Is there any reason why we should not switch from DocBook/XML to
Asciidoctor for all the documentation?


I'd like to postpone any discussion of the doc toolchain until after we get the 
python 3 work done, unless you strongly feel it's
urgent.



I'd like to second this. The issue has already been discussed in the past, and just like for "migrating the bugtracker away from 
Tigris" or "migrating the repo to git/github" I see the basic problem as follows: It's always easy to "talk the talk", but then you 
have to "walk the walk". People's plans seem to collapse at step 2 frequently. ;)


Best regards,

Dirk

___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Should we close python3-port branch in scons bitbucket?

2016-04-14 Thread William Blevins
On Thu, Apr 14, 2016 at 5:29 PM, Bill Deegan 
wrote:

> Russel,
>
> So the branch your work is on in your repo is python3-port?
>
> I'm o.k. with CI going red for this. I don't want to delay the python 3
> port any further.
> I think the project should go "all in" on getting py2/3 done at this point
> in time.
>
> How long would you expect getting your py3 work to run/pass all tests on
> py2.7?
> (Wild guesses are welcome)
>

Quite a few of these appear to be python code as strings, so this subset is
tedious but not difficult. I can try to go through them this weekend.


>
> -Bill
>
>
>
> On Thu, Apr 14, 2016 at 10:46 AM, Russel Winder 
> wrote:
>
>> Bill,
>>
>> It is also worth thinking about the "CI shall never go red" vibe.
>> Currently my python3-port branch is very red.
>>
>> --
>> Russel.
>>
>> =
>> Dr Russel Winder  t: +44 20 7585 2200   voip:
>> sip:russel.win...@ekiga.net
>> 41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
>> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
>>
>> ___
>> Scons-dev mailing list
>> Scons-dev@scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>
> ___
> Scons-dev mailing list
> Scons-dev@scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Should we close python3-port branch in scons bitbucket?

2016-04-14 Thread Russel Winder
On Thu, 2016-04-14 at 12:29 -0400, Bill Deegan wrote:
> Russel,
> 
> So the branch your work is on in your repo is python3-port?

Yes.

> I'm o.k. with CI going red for this. I don't want to delay the python
> 3
> port any further.
> I think the project should go "all in" on getting py2/3 done at this
> point
> in time.

In one sense I am completely with this sentiment. However as noted in
the earlier email there is an alternative to merging to mainline
default now, at the expense of setting a new CI.

> How long would you expect getting your py3 work to run/pass all tests
> on
> py2.7?
> (Wild guesses are welcome)

How long is the wire I am currently holding?

There are a couple of reds that I worked on for a while that are only
red when you run the tests using the test runner, if you run the test
code manually they work fine. cf. for example 

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc
Description: This is a digitally signed message part
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Should we close python3-port branch in scons bitbucket?

2016-04-14 Thread Russel Winder
On Thu, 2016-04-14 at 12:45 -0400, Bill Deegan wrote:
> Russel,
> 
> I guess the other question is the python3-port branch in scons' repo
> an
> earlier version of your branch?
> Or is your branch entirely different?
> 

My python3-port branch is a continuation of the original python3-port
branch so I guess in Mercurial terms they are the same branch. This
should mean that my python3-port branch can be merged into mainline
python3-port branch without difficulty. If this is the case and we can
set up CI on the python3-port branch we could run with the two branches
active in mainline until both are green.

If there were an embargo on changesets into mainline default until
mainline python3-port was merged back in, then this would seem to be
functionally equivalent to merging python3-port into default now at the
expense of having a new CI set up.

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc
Description: This is a digitally signed message part
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] SCons 2.5.0 Released

2016-04-14 Thread Jason Kenny
Hope you are feeling better!

 

Thanks

Jason

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org] On Behalf Of Bill Deegan
Sent: Thursday, April 14, 2016 11:49 AM
To: SCons developer list 
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Sorry.. came down with a stomach flu this week and though I plan to get lots 
done it's just sucking the energy out of me.

I'll try to give this a shot today.

-Bill

 

On Thu, Apr 14, 2016 at 11:13 AM, Jason Kenny  > wrote:

Hi, just pinging on this subject?

 

Jason

 

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org 
 ] On Behalf Of Bill Deegan
Sent: Monday, April 11, 2016 8:41 PM
To: SCons developer list  >


Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Jason,

I'll try it on my windows box tomorrow.

-Bill

 

On Mon, Apr 11, 2016 at 8:21 PM, Jason Kenny  > wrote:

Hi Bill,

 

I have tried this on different system. Below is from a fresh VM of windows with 
python 2.7.11. I believe only Ubuntu has worked in at all. Fedora and Mac and 
other system fails the same basic way of  --single-version-externally-managed 
is unknown option.

 

PS C:\WINDOWS\system32> python -m pip install --upgrade pip
Collecting pip
  Using cached pip-8.1.1-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 7.1.2
Uninstalling pip-7.1.2:
  Successfully uninstalled pip-7.1.2
Successfully installed pip-8.1.1

 

PS C:\WINDOWS\system32> pip --version
pip 8.1.1 from c:\python27\lib\site-packages (python 2.7)


PS C:\WINDOWS\system32> pip install scons
Collecting scons
  Using cached scons-2.5.0.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\\me\\
appdata\\local\\temp\\pip-build-0zvxsb\\scons\\setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().r
eplace('\r\n', '\n'), __file__, 'exec'))" install --record 
c:\users\me\appdata\local\temp\pip-l1ufkk-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\\me\\appdata\\local\\temp\\pi
p-build-0zvxsb\\scons\\setup.py';exec(compile(getattr(tokenize, 'open', 
open)(__file__).read().replace('\r\n', '\n'), __
file__, 'exec'))" install --record 
c:\users\me\appdata\local\temp\pip-l1ufkk-record\install-record.txt 
--single-vers
ion-externally-managed --compile" failed with error code 1 in 
c:\users\me\appdata\local\temp\pip-build-0zvxsb\scons\

 

 

I know I am not the only one seeing this.

 

Jason

  _  

Date: Mon, 11 Apr 2016 16:47:41 -0400
From: b...@baddogconsulting.com  
To: scons-dev@scons.org  
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

pip install works for me.

What version of pip are you running?

I tried the latest and a previous version.

-Bill

 

On Mon, Apr 11, 2016 at 4:27 PM, Jason Kenny  > wrote:

One other low hanging fruit would be to fix the pip install issues.

Jason

___
Scons-dev mailing list
Scons-dev@scons.org  
https://pairlist2.pair.net/mailman/listinfo/scons-dev

 


___ Scons-dev mailing list 
Scons-dev@scons.org   
https://pairlist2.pair.net/mailman/listinfo/scons-dev


___
Scons-dev mailing list
Scons-dev@scons.org  
https://pairlist2.pair.net/mailman/listinfo/scons-dev

 


___
Scons-dev mailing list
Scons-dev@scons.org  
https://pairlist2.pair.net/mailman/listinfo/scons-dev

 

___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] SCons 2.5.0 Released

2016-04-14 Thread Jason Kenny
Hi, just pinging on this subject?

 

Jason

 

 

From: Scons-dev [mailto:scons-dev-boun...@scons.org] On Behalf Of Bill Deegan
Sent: Monday, April 11, 2016 8:41 PM
To: SCons developer list 
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

Jason,

I'll try it on my windows box tomorrow.

-Bill

 

On Mon, Apr 11, 2016 at 8:21 PM, Jason Kenny  > wrote:

Hi Bill,

 

I have tried this on different system. Below is from a fresh VM of windows with 
python 2.7.11. I believe only Ubuntu has worked in at all. Fedora and Mac and 
other system fails the same basic way of  --single-version-externally-managed 
is unknown option.

 

PS C:\WINDOWS\system32> python -m pip install --upgrade pip
Collecting pip
  Using cached pip-8.1.1-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 7.1.2
Uninstalling pip-7.1.2:
  Successfully uninstalled pip-7.1.2
Successfully installed pip-8.1.1

 

PS C:\WINDOWS\system32> pip --version
pip 8.1.1 from c:\python27\lib\site-packages (python 2.7)


PS C:\WINDOWS\system32> pip install scons
Collecting scons
  Using cached scons-2.5.0.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\\me\\
appdata\\local\\temp\\pip-build-0zvxsb\\scons\\setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().r
eplace('\r\n', '\n'), __file__, 'exec'))" install --record 
c:\users\me\appdata\local\temp\pip-l1ufkk-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\\me\\appdata\\local\\temp\\pi
p-build-0zvxsb\\scons\\setup.py';exec(compile(getattr(tokenize, 'open', 
open)(__file__).read().replace('\r\n', '\n'), __
file__, 'exec'))" install --record 
c:\users\me\appdata\local\temp\pip-l1ufkk-record\install-record.txt 
--single-vers
ion-externally-managed --compile" failed with error code 1 in 
c:\users\me\appdata\local\temp\pip-build-0zvxsb\scons\

 

 

I know I am not the only one seeing this.

 

Jason

  _  

Date: Mon, 11 Apr 2016 16:47:41 -0400
From: b...@baddogconsulting.com  
To: scons-dev@scons.org  
Subject: Re: [Scons-dev] SCons 2.5.0 Released

 

pip install works for me.

What version of pip are you running?

I tried the latest and a previous version.

-Bill

 

On Mon, Apr 11, 2016 at 4:27 PM, Jason Kenny  > wrote:

One other low hanging fruit would be to fix the pip install issues.

Jason

___
Scons-dev mailing list
Scons-dev@scons.org  
https://pairlist2.pair.net/mailman/listinfo/scons-dev

 


___ Scons-dev mailing list 
Scons-dev@scons.org   
https://pairlist2.pair.net/mailman/listinfo/scons-dev


___
Scons-dev mailing list
Scons-dev@scons.org  
https://pairlist2.pair.net/mailman/listinfo/scons-dev

 

___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Should we close python3-port branch in scons bitbucket?

2016-04-14 Thread Russel Winder
Bill,

It is also worth thinking about the "CI shall never go red" vibe.
Currently my python3-port branch is very red.

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc
Description: This is a digitally signed message part
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Should we close python3-port branch in scons bitbucket?

2016-04-14 Thread Russel Winder
On Thu, 2016-04-14 at 10:14 -0400, Bill Deegan wrote:
> Russel (and all),
> 
> Since we'll be taking Russel's work in progress into main, it seems
> the
> presence of this branch is causing confusion.
> 
> Any reason not to close the branch?

I suspect, but have no experimental (or even theoretical) evidence – it
is just a hunch – that it might be hard to merge the python3-port
branch in my repository into mainline if the python3-port branch in the
mainline is closed.

If we are all agreed that now is a reasonably time to merge the Python
3 effort into the mainline default, I can merge my python3-port branch
into my default and close python3-port locally. This would allow the
python3-port branch in mainline to be closed with no consequences – as
far as I know.

The only threat to this course of action is if there is more effort on
mainline's default that needs merging before the grand python3-port
merge.
 
I am speaking from a position of relative Mercurial ignorance, so I may
be wrong…

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc
Description: This is a digitally signed message part
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev