Re: Problem installing scons via pip

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CGevF9r=KE0dT_NV1Z=kMS6DQG2tBs-pcoXdFRBbOjbpw@mail.gmail.com>
Eric,

I'd say give it a shot and we'll take a look at what you create.
Note there are a bunch of xml files and other data files which should be
installed.
There are also an handful of scripts scons, sconsign, etc.  Ideally the
setup would handle creating these and create scons.exe on windows.

I toyed around with replacing the existing setup.py a while back, but ran
out of time to done.

-Bill
SCons Project Co-Manager

On Fri, Sep 21, 2018 at 2:52 PM Eric Fahlgren <[email protected]>
wrote:

> Just to confirm: the current src/setup.py is used /only/ for
> packaging/product installation?  (So, if I totally replace it to build a
> wheel and do nothing else, that would be ok?)
>
> I am very far from being an expert on packaging, but I just created
> whl-building setup files for a couple of packages in the past month, so
> it's fresh in my mind and thus it's possible that I could actually do
> something here before I forget everything I learned.
>
> Eric
>
>
> On Fri, Sep 21, 2018 at 10:05 AM Bill Deegan <[email protected]>
> wrote:
>
>> src/setup.py and setup.cfg  likely what you want to look at.
>> Any help there is welcome.
>>
>> On Fri, Sep 21, 2018 at 11:28 AM Eric Fahlgren <[email protected]>
>> wrote:
>>
>>> +1
>>>
>>> I have exactly the same situation as Martin (big requirements.txt,
>>> forward dependency on 'wheel' always borks a new install, the --single...
>>> flag causes a crash later), so would be very happy to see a scons.whl as
>>> the default PyPi package.  Any pointers into the source where I might be
>>> able to help make this happen?
>>>
>>> Eric
>>>
>>> On Fri, Sep 21, 2018 at 5:22 AM Bill Deegan <[email protected]>
>>> wrote:
>>>
>>>> I'll see if we can make that happen on next release..
>>>>
>>>> On Fri, Sep 21, 2018 at 8:08 AM Martin Ritter <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi again,
>>>>>
>>>>> more investigation and quite some time later I found out that my
>>>>> problem
>>>>> is due to --no-cache-dir which causes pip not to create wheels but
>>>>> install directly ... sorry for the noise.
>>>>>
>>>>> Still, I would be happy if scons would provide wheels directly on pypi
>>>>> :D
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Martin
>>>>>
>>>>> On 21/09/18 11:16, Martin Ritter wrote:
>>>>> > Hi all,
>>>>> >
>>>>> > I have a very weird problem installing scons via pip. It works fine
>>>>> if I
>>>>> > install just scons alone. But I have a large requirements.txt and
>>>>> would
>>>>> > like to install all my packages at once checking their integrity so
>>>>> I'm
>>>>> > running
>>>>> >
>>>>> > pip install --require-hashes -r requirements.txt
>>>>> >
>>>>> > and I get the `--single-version-externally-managed` error even
>>>>> though
>>>>> > wheel is installed (python 3.6, pip 18.0, setuptools 40.4, wheel
>>>>> 0.3.1)
>>>>> >
>>>>> > If I run `pip wheel` first it seems to work fine as the wheel is
>>>>> picked
>>>>> > up and installed instead
>>>>> >
>>>>> > Now the easiest solution for me would be if someone could just
>>>>> upload a
>>>>> > wheel of scons to pypi which would allow me to directly install that
>>>>> > wheel instead. Would that be possible?
>>>>> >
>>>>> > Cheers,
>>>>> >
>>>>> > Martin
>>>>>
>>>>> --
>>>>> Dr. Martin Ritter
>>>>>
>>>>> LMU München, Excellence Cluster Universe
>>>>> Boltzmannstrasse 2, 85748 Garching
>>>>>
>>>>> Tel: (+49) 89 35831-7152
>>>>> Fax: (+49) 89 3299-4002
>>>>> _______________________________________________
>>>>> Scons-users mailing list
>>>>> [email protected]
>>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>>
>>>> _______________________________________________
>>>> Scons-users mailing list
>>>> [email protected]
>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>
>>> _______________________________________________
>>> Scons-users mailing list
>>> [email protected]
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>> _______________________________________________
>> Scons-users mailing list
>> [email protected]
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
> _______________________________________________
> Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.