[Scons-users] No more windows installers? (Pip/tar/zip going forward)

Barry Bond barrybo at microsoft.com
Thu Sep 28 20:53:44 EDT 2017


To work around the “error: option --single-version-externally-managed not recognized”, use this:
                pip install --egg scons

Barry

From: Scons-users [mailto:scons-users-bounces at scons.org] On Behalf Of Thomas Berg
Sent: Thursday, September 28, 2017 5:17 PM
To: SCons users mailing list <scons-users at scons.org>
Subject: Re: [Scons-users] No more windows installers? (Pip/tar/zip going forward)

I've been using the 64bit Windows installers. pip does not seem to work for me at the moment, if it did it would be an acceptable alternative.

I've been avoiding setup.py installs, because it is more tedious and puts scons.bat in a different location than the installers do (C:\Python27 versus C:\Python27\Scripts), causing problems when installing multiple versions of scons and mixing the two conventions.

 Is this pip error a known problem?

- Thomas

(note: 64 bit python)

> python
Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] on win32
> pip --version
pip 9.0.1 from c:\python27\lib\site-packages (python 2.7)

>pip install scons
Collecting scons
  Using cached scons-3.0.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\\thomasb\\appdata\\local\\temp\\pip-build-l8udi7\\scons\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\thomasb\appdata\local\temp\pip-6dpgnv-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\\thomasb\\appdata\\local\\temp\\pip-build-l8udi7\\scons\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\thomasb\appdata\local\temp\pip-6dpgnv-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\thomasb\appdata\local\temp\pip-build-l8udi7\scons\

On Fri, Sep 29, 2017 at 1:46 AM, Eric Fahlgren <ericfahlgren at gmail.com<mailto:ericfahlgren at gmail.com>> wrote:
For me, the pip wheel was a welcome improvement.  I use pip to install almost all of our Windows/Python toolchain, so when SCons moved into a wheel, it made me happy that I could get rid of another special case.

On Thu, Sep 28, 2017 at 3:48 PM, Bill Deegan <bill at baddogconsulting.com<mailto:bill at baddogconsulting.com>> wrote:
Greetings,
Any strong opinions on keeping the windows installers?
pip install should work on any platform going forward.
Also the zip file and be python setup.py install'd
-Bill

_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Cbarrybo%40microsoft.com%7C40767c81cbd54670f76908d506cf63eb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636422410173230032&sdata=28MWwsNxbVqN89pN7BTVPKUyp0J4berV82nMO2LOKsg%3D&reserved=0>


_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Cbarrybo%40microsoft.com%7C40767c81cbd54670f76908d506cf63eb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636422410173230032&sdata=28MWwsNxbVqN89pN7BTVPKUyp0J4berV82nMO2LOKsg%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170929/7a7a5a4a/attachment-0001.html>


More information about the Scons-users mailing list