RE: How to install Python package from source on Windows

2017-06-01 Thread Deborah Swanson
Gregory Ewing wrote, on Thursday, June 01, 2017 1:15 AM > > Deborah Swanson wrote: > > I have already offered to do whatever you would like me to > do on this > > system > > If you wouldn't mind, I'd like to see the output from this command: > > python -m ensurepip > > -- > Greg The res

RE: How to install Python package from source on Windows

2017-06-01 Thread Deborah Swanson
Gregory Ewing wrote, on Thursday, June 01, 2017 1:12 AM > > Deborah Swanson wrote: > > Why do you care so deeply what pip does on an operating > system that is > > no longer supported? > > Being pipless is a sufficiently distressing fate that we'd > like to help, even if you didn't explicitly r

RE: How to install Python package from source on Windows

2017-06-01 Thread Deborah Swanson
Gregory Ewing wrote, on Thursday, June 01, 2017 12:59 AM > > Deborah Swanson wrote: > > I got one suggestion that I could just copy the files to "the > > appropriate directories", > > That was me, but I've just had a look at the source, and it > seems the core functionality is implemented in C,

Re: How to install Python package from source on Windows

2017-06-01 Thread Gregory Ewing
Deborah Swanson wrote: I have already offered to do whatever you would like me to do on this system If you wouldn't mind, I'd like to see the output from this command: python -m ensurepip -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: How to install Python package from source on Windows

2017-06-01 Thread Gregory Ewing
Deborah Swanson wrote: Why do you care so deeply what pip does on an operating system that is no longer supported? Being pipless is a sufficiently distressing fate that we'd like to help, even if you didn't explicitly request it. Particularly since it seems like such an unnecessary one, becaus

Re: How to install Python package from source on Windows

2017-06-01 Thread Gregory Ewing
Deborah Swanson wrote: I got one suggestion that I could just copy the files to "the appropriate directories", That was me, but I've just had a look at the source, and it seems the core functionality is implemented in C, so scrub that idea. But all is not lost. I've found this: https://pypi.p

Re: How to install Python package from source on Windows

2017-05-31 Thread breamoreboy
> > -Original Message- > > From: Python-list > > Sent: Tuesday, May 30, 2017 5:06 PM > > To: python-list > > Subject: Re: How to install Python package from source on Windows > > > > On Tuesday, May 30, 2017 at 11:32:46 PM UTC+1, Deborah Swanson

Re: How to install Python package from source on Windows

2017-05-31 Thread Steven D'Aprano
> source, which was my original question. > > Deborah > >> -Original Message- >> From: Python-list >> [mailto:python-list-bounces+python=deborahswanson.net@python.o rg] On >> Behalf Of breamore...@gmail.com Sent: Tuesday, May 30, 2017 5:06 PM To: >> python

Re: How to install Python package from source on Windows

2017-05-30 Thread Chris Angelico
On Wed, May 31, 2017 at 2:42 PM, Deborah Swanson wrote: > So good job. Are you proud of the mess you've made? > I would have plonked you ages ago, but the fireworks have been too much fun to watch. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

RE: How to install Python package from source on Windows

2017-05-30 Thread Deborah Swanson
; [mailto:python-list-bounces+python=deborahswanson.net@python.o > rg] On Behalf Of breamore...@gmail.com > Sent: Tuesday, May 30, 2017 5:06 PM > To: python-list@python.org > Subject: Re: How to install Python package from source on Windows > > > On Tuesday, May 30, 2017 at 11

Re: How to install Python package from source on Windows

2017-05-30 Thread breamoreboy
On Tuesday, May 30, 2017 at 11:32:46 PM UTC+1, Deborah Swanson wrote: > I really don't get it how all of you have latched onto this idea that I > said pip tried to install Visual Studio. I said it happened when I tried > to upgrade pip, and I agreed with someone else who wondered if it might > have

Re: How to install Python package from source on Windows

2017-05-30 Thread MRAB
On 2017-05-30 23:04, Deborah Swanson wrote: I never said it was pip's fault, so there's nothing for you to accept my word on. It could easily have been something that Anaconda3 did in the process of upgrading pip. But you're just trying drag this on as long as possible by manufacturing an argume

RE: How to install Python package from source on Windows

2017-05-30 Thread Deborah Swanson
I really don't get it how all of you have latched onto this idea that I said pip tried to install Visual Studio. I said it happened when I tried to upgrade pip, and I agreed with someone else who wondered if it might have been Anaconda3 that did it. May I remind you that I wasn't the one to reigni

RE: How to install Python package from source on Windows

2017-05-30 Thread Deborah Swanson
I never said it was pip's fault, so there's nothing for you to accept my word on. It could easily have been something that Anaconda3 did in the process of upgrading pip. But you're just trying drag this on as long as possible by manufacturing an argument where there is none. > -Original Messa

Re: Re: How to install Python package from source on Windows

2017-05-30 Thread Paul Moore
On 30 May 2017 at 21:27, Deborah Swanson wrote: > I have already offered to do whatever you would like me to do on this > system - after I'm up and running on Linux. I need a functioning PyCharm > on this system until that happens. OK. I'm not sure I care enough to remind you, but if you want to

Re: Re: How to install Python package from source on Windows

2017-05-30 Thread Chris Angelico
On Wed, May 31, 2017 at 6:27 AM, Deborah Swanson wrote: > Please accept my word that the attempt to upgrade pip broke when it > tried to install Visual Studio 2015, and I wouldn't even have known to > say that's what happened if I hadn't seen it in the traceback. Quite > possibly it wasn't suppose

RE: Re: How to install Python package from source on Windows

2017-05-30 Thread Deborah Swanson
you think we disagree on. Deborah > -Original Message- > From: Paul Moore [mailto:p.f.mo...@gmail.com] > Sent: Tuesday, May 30, 2017 12:57 PM > To: pyt...@deborahswanson.net > Cc: python-list@python.org > Subject: Re: How to install Python package from source on Win

Re: How to install Python package from source on Windows

2017-05-30 Thread Paul Moore
On 30 May 2017 at 20:15, Deborah Swanson wrote: > Why do you care so deeply what pip does on an operating system that is > no longer supported? Sigh. I guess we just have to agree to differ. > And I'm sorry you're upset that pip is not behaving as expected, but > please remember that this happen

RE: How to install Python package from source on Windows

2017-05-30 Thread Deborah Swanson
Why do you care so deeply what pip does on an operating system that is no longer supported? Anaconda3 Python 3.4.3 just barely installed on XP SP2, and it's given me nothing but trouble since. I don't need any help with it. As for my original question about installing recordclass from source, I g

Re: How to install Python package from source on Windows

2017-05-30 Thread Paul Moore
On 30 May 2017 at 16:56, Deborah Swanson wrote: > I'm sorry people on the list somehow got the idea I was asking for help > with this. Originally I only asked how to build recordclass from source, > and apparently I made the mistake of chiming in with my experiences with > Anaconda3, Python 3.4.3,

Re: How to install Python package from source on Windows

2017-05-30 Thread bartc
On 30/05/2017 18:46, Deborah Swanson wrote: My strong suspicion is that the reason I'm actually seeing failed attempts to install Visual C++ and Visual Studio 2015 while none of you others are seeing any use of Visual C++/Studio is because it shows up in my tracebacks when it fails. In an XP SP3

RE: How to install Python package from source on Windows

2017-05-30 Thread Deborah Swanson
> -Original Message- > From: Deborah Swanson [mailto:pyt...@deborahswanson.net] > Sent: Tuesday, May 30, 2017 8:57 AM > To: 'Paul Moore' > Subject: RE: How to install Python package from source on Windows > > > I'm sorry people on the list someho

Re: How to install Python package from source on Windows

2017-05-30 Thread Paul Moore
On Thursday, 25 May 2017 22:32:56 UTC+1, Deborah Swanson wrote: > This is my last reply on this thread to anything to do with XP SP2 > (observations in XP SP3 do not apply) or Visual Studio. I've answered > all of the questions, some of them multiple times. Please reread the > thread if you have m

Re: How to install Python package from source on Windows

2017-05-26 Thread Gregory Ewing
Deborah Swanson wrote: Since none of you have XP SP2 with Anaconda3 Python 3.4.3, to either confirm or deny my results, and I no longer have the message with the traceback showing what happened, nothing anybody says at this point matters wrt to what happens in XP SP2. Have you posted a transcri

Re: How to install Python package from source on Windows

2017-05-25 Thread Michael Torrie
On 05/25/2017 07:58 PM, Chris Angelico wrote: > On Fri, May 26, 2017 at 11:28 AM, Deborah Swanson > wrote: >> Since none of you have XP SP2 with Anaconda3 Python 3.4.3, to either >> confirm or deny my results, and I no longer have the message with the >> traceback showing what happened, nothing an

Re: How to install Python package from source on Windows

2017-05-25 Thread MRAB
On 2017-05-26 02:59, Michael Torrie wrote: On 05/25/2017 04:37 PM, Deborah Swanson wrote: Here's a question: does Anaconda have a special build of Python, or is it a standard Python bundled with extra stuff? I'm not sure, and it's an excellent question. Anaconda stopped installing Python on

Re: How to install Python package from source on Windows

2017-05-25 Thread Michael Torrie
On 05/25/2017 04:37 PM, Deborah Swanson wrote: >> Here's a question: does Anaconda have a special build of Python, or is > >> it a standard Python bundled with extra stuff? > > I'm not sure, and it's an excellent question. Anaconda stopped > installing Python on XP at 3.4.3. python.org doesn't i

Re: How to install Python package from source on Windows

2017-05-25 Thread Chris Angelico
On Fri, May 26, 2017 at 11:28 AM, Deborah Swanson wrote: > Since none of you have XP SP2 with Anaconda3 Python 3.4.3, to either > confirm or deny my results, and I no longer have the message with the > traceback showing what happened, nothing anybody says at this point > matters wrt to what happen

RE: How to install Python package from source on Windows

2017-05-25 Thread Deborah Swanson
Since none of you have XP SP2 with Anaconda3 Python 3.4.3, to either confirm or deny my results, and I no longer have the message with the traceback showing what happened, nothing anybody says at this point matters wrt to what happens in XP SP2. -- https://mail.python.org/mailman/listinfo/python-

Re: How to install Python package from source on Windows

2017-05-25 Thread breamoreboy
On Friday, May 26, 2017 at 12:11:41 AM UTC+1, Deborah Swanson wrote: > breamoreboy wrote, on Thursday, May 25, 2017 3:23 PM > > > > On Thursday, May 25, 2017 at 10:32:56 PM UTC+1, Deborah Swanson wrote: > > > > Michael Torrie wrote, on Thursday, May 25, 2017 1:57 PM > > > > > I didn't see a traceb

Re: How to install Python package from source on Windows

2017-05-25 Thread eryk sun
On Thu, May 25, 2017 at 11:11 PM, Deborah Swanson wrote: > Unfortunately I deleted that message and now I no longer have a pip You still have ensurepip to be able to install and upgrade pip: python -m ensurepip --verbose --default-pip python -m pip install --upgrade pip Or use get-pip.p

Re: How to install Python package from source on Windows

2017-05-25 Thread MRAB
On 2017-05-26 00:11, Deborah Swanson wrote: breamore...@gmail.com wrote, on Thursday, May 25, 2017 3:23 PM On Thursday, May 25, 2017 at 10:32:56 PM UTC+1, Deborah Swanson wrote: > > Michael Torrie wrote, on Thursday, May 25, 2017 1:57 PM > > > I didn't see a traceback where you tried to upgrade

RE: How to install Python package from source on Windows

2017-05-25 Thread Deborah Swanson
breamore...@gmail.com wrote, on Thursday, May 25, 2017 3:23 PM > > On Thursday, May 25, 2017 at 10:32:56 PM UTC+1, Deborah Swanson wrote: > > > Michael Torrie wrote, on Thursday, May 25, 2017 1:57 PM > > > > I didn't see a traceback where you tried to upgrade pip > to 9.0.1. > > > > It's a long

RE: How to install Python package from source on Windows

2017-05-25 Thread Deborah Swanson
MRAB wrote, on Thursday, May 25, 2017 2:46 PM > > On 2017-05-25 21:24, Chris Angelico wrote: > > On Fri, May 26, 2017 at 6:16 AM, Deborah Swanson > > wrote: > >>> Anyway I can confirm that VS is not required for installing and > >>> using pip on XP, nor is it required for recordclass, since it'

Re: How to install Python package from source on Windows

2017-05-25 Thread breamoreboy
On Thursday, May 25, 2017 at 10:32:56 PM UTC+1, Deborah Swanson wrote: > > Michael Torrie wrote, on Thursday, May 25, 2017 1:57 PM > > > I didn't see a traceback where you tried to upgrade pip to > > > 9.0.1. > > It's a long thread. You just didn't find it. > You've never attempted to upgrade

Re: How to install Python package from source on Windows

2017-05-25 Thread MRAB
On 2017-05-25 21:24, Chris Angelico wrote: On Fri, May 26, 2017 at 6:16 AM, Deborah Swanson wrote: Anyway I can confirm that VS is not required for installing and using pip on XP, nor is it required for recordclass, since it's available in wheel form. See my tracebacks earlier in this thread.

RE: How to install Python package from source on Windows

2017-05-25 Thread Deborah Swanson
> Michael Torrie wrote, on Thursday, May 25, 2017 1:57 PM > > I didn't see a traceback where you tried to upgrade pip to > > 9.0.1. It's a long thread. You just didn't find it. This is my last reply on this thread to anything to do with XP SP2 (observations in XP SP3 do not apply) or Visual Stu

RE: How to install Python package from source on Windows

2017-05-25 Thread Deborah Swanson
Michael Torrie wrote, on Thursday, May 25, 2017 1:57 PM > > On 05/25/2017 02:16 PM, Deborah Swanson wrote: > >> I just fired up my Windows XP SP3 virtual machine, which has > >> no development tools whatsoever on it (no VS, nothing). I > >> installed 32-bit Python 3.4 from the official python.org

Re: How to install Python package from source on Windows

2017-05-25 Thread MRAB
On 2017-05-25 21:24, Chris Angelico wrote: On Fri, May 26, 2017 at 6:16 AM, Deborah Swanson wrote: Anyway I can confirm that VS is not required for installing and using pip on XP, nor is it required for recordclass, since it's available in wheel form. See my tracebacks earlier in this thread.

Re: How to install Python package from source on Windows

2017-05-25 Thread Michael Torrie
On 05/25/2017 02:16 PM, Deborah Swanson wrote: >> I just fired up my Windows XP SP3 virtual machine, which has >> no development tools whatsoever on it (no VS, nothing). I >> installed 32-bit Python 3.4 from the official python.org >> download. Then I did the pip >> upgrade: > > Yes XP SP3 can

Re: How to install Python package from source on Windows

2017-05-25 Thread Chris Angelico
On Fri, May 26, 2017 at 6:16 AM, Deborah Swanson wrote: >> Anyway I can confirm that VS is not required for installing >> and using pip on XP, nor is it required for recordclass, >> since it's available in wheel form. > > See my tracebacks earlier in this thread. You confirmed that it works in > X

RE: How to install Python package from source on Windows

2017-05-25 Thread Deborah Swanson
Michael Torrie wrote, on Thursday, May 25, 2017 12:12 PM > > On 05/25/2017 10:09 AM, Deborah Swanson wrote: > > Could be, maybe it's something they do for every > installation, whether > > it will use it or not. But it always breaks when it can't install > > Visual Studio. Upgrade pip does run

Re: How to install Python package from source on Windows

2017-05-25 Thread Michael Torrie
On 05/25/2017 10:09 AM, Deborah Swanson wrote: > Could be, maybe it's something they do for every installation, whether > it will use it or not. But it always breaks when it can't install Visual > Studio. Upgrade pip does run and it works up to that point. It gets as > far as uninstalling the old p

Re: How to install Python package from source on Windows

2017-05-25 Thread eryk sun
On Thu, May 25, 2017 at 4:09 PM, Deborah Swanson wrote: > Could be, maybe it's something they do for every installation, whether > it will use it or not. But it always breaks when it can't install Visual > Studio. Upgrade pip does run and it works up to that point. It gets as > far as uninstalling

RE: How to install Python package from source on Windows

2017-05-25 Thread Deborah Swanson
Chris Angelico wrote, on Thursday, May 25, 2017 12:47 AM > > On Thu, May 25, 2017 at 4:57 PM, Deborah Swanson > wrote: > > Oh, what bliss it must be to run on a system that hasn't > been declared > > a pariah by everyone and his dog. (But yet it covers all > the essential > > bases quite nic

Re: How to install Python package from source on Windows

2017-05-25 Thread Chris Angelico
On Thu, May 25, 2017 at 4:57 PM, Deborah Swanson wrote: > Oh, what bliss it must be to run on a system that hasn't been declared a > pariah by everyone and his dog. (But yet it covers all the essential > bases quite nicely.) > > I tried ensurepip, but it also wants to install a recent version of >

RE: How to install Python package from source on Windows

2017-05-25 Thread Deborah Swanson
Gregory Ewing wrote, on Wednesday, May 24, 2017 10:58 PM > > Deborah Swanson wrote: > > > So now I'm pipless. > > You should be able to get it back using > > python -m ensurepip > > BTW, I don't know why upgrading pip would fail due to lack of > Visual Studio. That shouldn't be able to ha

Re: How to install Python package from source on Windows

2017-05-24 Thread Gregory Ewing
Deborah Swanson wrote: So now I'm pipless. You should be able to get it back using python -m ensurepip BTW, I don't know why upgrading pip would fail due to lack of Visual Studio. That shouldn't be able to happen, because pip is pure Python. -- Greg -- https://mail.python.org/mailman/lis

Re: How to install Python package from source on Windows

2017-05-24 Thread Chris Angelico
On Thu, May 25, 2017 at 2:20 PM, Deborah Swanson wrote: >> For packages that don't have wheels available on PyPI, you >> can often find an unofficial build on Christoph Gohlke's site >> [1]. He still builds and distributes wheels for Python 3.4, >> but I don't know for how much longer. >> >> [1]:

RE: How to install Python package from source on Windows

2017-05-24 Thread Deborah Swanson
eryk sun wrote, on Wednesday, May 24, 2017 6:32 PM > > On Thu, May 25, 2017 at 12:18 AM, Deborah Swanson > wrote: > > > > When I tried to upgrade pip it failed because it could neither find > > nor install Visual Studio 2015. > > Installing and upgrading pip does not require a C compiler. >

Re: How to install Python package from source on Windows

2017-05-24 Thread eryk sun
On Thu, May 25, 2017 at 12:18 AM, Deborah Swanson wrote: > > When I tried to upgrade pip it failed because it could neither > find nor install Visual Studio 2015. Installing and upgrading pip does not require a C compiler. > So now I'm pipless. Read the thread if you want to know why I don't hav

RE: How to install Python package from source on Windows

2017-05-24 Thread Deborah Swanson
Paul Moore wrote, on Wednesday, May 24, 2017 5:53 AM > On Monday, 15 May 2017 22:42:22 UTC+1, Deborah Swanson wrote: > > MRAB wrote, on Monday, May 15, 2017 12:44 PM > > > > > > On 2017-05-15 13:52, eryk sun wrote: > > > > On Mon, May 15, 2017 at 6:37 AM, Deborah Swanson > > > > wrote: > > > >>

Re: How to install Python package from source on Windows

2017-05-24 Thread Paul Moore
On Monday, 15 May 2017 22:42:22 UTC+1, Deborah Swanson wrote: > MRAB wrote, on Monday, May 15, 2017 12:44 PM > > > > On 2017-05-15 13:52, eryk sun wrote: > > > On Mon, May 15, 2017 at 6:37 AM, Deborah Swanson > > > wrote: > > >> > > >> Where did you find recordclass-0.4.3-cp34-cp34m-win32.whl?

Re: How to install Python package from source on Windows

2017-05-22 Thread eryk sun
On Sun, May 21, 2017 at 5:40 PM, bartc wrote: > I think it was YOU that got me wasting time downloading that VS2015 > solution, all 1MB of it [download size; unknown installation size], Visual Studio installs a multi-architecture (x86, x64, arm, arm64) build environment for native and managed

Re: How to install Python package from source on Windows

2017-05-21 Thread Chris Angelico
On Mon, May 22, 2017 at 4:17 PM, Gregory Ewing wrote: >> (The GMP library, for example, has no official binary releases. You have >> to build from source, > > > So using it on Windows isn't supported very well. This is > in contrast to Python, for which a pretty comprehensive set > of Windows bina

Re: How to install Python package from source on Windows

2017-05-21 Thread Jussi Piitulainen
Gregory Ewing writes: > Jussi Piitulainen wrote: >> I was surprised that Git (or GitHub Desktop) simply failed so badly. >> Not sure what it could have done instead. > > It's not really git's fault, it's a consequence of differing > filename conventions on different platforms. The only way to I u

Re: How to install Python package from source on Windows

2017-05-21 Thread Gregory Ewing
bartc wrote: The 'one-file' idea is one approach to simplifying the building of open-source applications. Probably, it's more suited to those who just want to try out, or use, a bit of software. But on Windows, that use case is normally covered by installing a *binary*, not compiling from sour

Re: How to install Python package from source on Windows

2017-05-21 Thread bartc
On 22/05/2017 01:17, Gregory Ewing wrote: I think what Bart is saying is that the Python developers should provide an amalgamated source file that's pre-configured for Windows, so that someone who wants to compile on Windows doesn't have to deal with all the complexities of the general build syst

Re: How to install Python package from source on Windows

2017-05-21 Thread bartc
On 22/05/2017 01:07, Gregory Ewing wrote: is not easy, but nobody should *need* to do that unless they're -- https://mail.python.org/mailman/listinfo/python-list

Re: How to install Python package from source on Windows

2017-05-21 Thread Gregory Ewing
I think what Bart is saying is that the Python developers should provide an amalgamated source file that's pre-configured for Windows, so that someone who wants to compile on Windows doesn't have to deal with all the complexities of the general build system. While that might be possible, I don't

Re: How to install Python package from source on Windows

2017-05-21 Thread bartc
On 21/05/2017 21:46, Chris Angelico wrote: On Mon, May 22, 2017 at 5:32 AM, bartc wrote: Why are you so afraid of multiple source files? [When other people build your app from sources] Because then they are likely to need automation to deal with it. And that introduces an extra dependency

Re: How to install Python package from source on Windows

2017-05-21 Thread Gregory Ewing
bartc wrote: I don't consider the CPython bundle that portable because it really demands that it be built under Linux. There is (now) a grudging concession for Windows, but that solution wasn't satisfactory when I tried it. We already know that building Python from source on Windows is not ea

Re: How to install Python package from source on Windows

2017-05-21 Thread Gregory Ewing
Jussi Piitulainen wrote: I was surprised that Git (or GitHub Desktop) simply failed so badly. Not sure what it could have done instead. It's not really git's fault, it's a consequence of differing filename conventions on different platforms. The only way to avoid such problems is to refrain fro

Re: How to install Python package from source on Windows

2017-05-21 Thread Chris Angelico
On Mon, May 22, 2017 at 5:32 AM, bartc wrote: > On 21/05/2017 16:21, Chris Angelico wrote: >> >> On Mon, May 22, 2017 at 12:58 AM, bartc wrote: >>> >>> On 21/05/2017 12:06, Chris Angelico wrote: > > >>> Explain why ALL these drivers, including the one I've just created, need >>> to >>> be part of

Re: How to install Python package from source on Windows

2017-05-21 Thread bartc
On 21/05/2017 16:21, Chris Angelico wrote: On Mon, May 22, 2017 at 12:58 AM, bartc wrote: On 21/05/2017 12:06, Chris Angelico wrote: Explain why ALL these drivers, including the one I've just created, need to be part of the common source code for the OS. I don't know. YOU are the one who s

Re: How to install Python package from source on Windows

2017-05-21 Thread bartc
On 21/05/2017 17:51, breamore...@gmail.com wrote: On Saturday, May 20, 2017 at 10:56:17 PM UTC+1, bartc wrote: I am still also sticking with the belief that you know about as much about programming as the RUE knows about unicode. What major projects have you worked on? Actually what have you

Re: How to install Python package from source on Windows

2017-05-21 Thread Chris Angelico
On Mon, May 22, 2017 at 12:58 AM, bartc wrote: > On 21/05/2017 12:06, Chris Angelico wrote: >> >> On Sun, May 21, 2017 at 8:23 PM, bartc wrote: > > >>> (If you imagine a future where the number of targets has increased a >>> hundred-fold (or we colonise the galaxy and there are a million possible

Re: How to install Python package from source on Windows

2017-05-21 Thread bartc
On 21/05/2017 12:06, Chris Angelico wrote: On Sun, May 21, 2017 at 8:23 PM, bartc wrote: (If you imagine a future where the number of targets has increased a hundred-fold (or we colonise the galaxy and there are a million possible targets), then it might become clearer that the approach used

Re: How to install Python package from source on Windows

2017-05-21 Thread Chris Angelico
On Sun, May 21, 2017 at 11:33 PM, Jussi Piitulainen wrote: > I was surprised that it didn't notice and report that things went wrong > while it was creating the clone that it was unable to handle afterwards. > It apparently created an inconsistent index and thought everything was > fine at that po

Re: How to install Python package from source on Windows

2017-05-21 Thread Jussi Piitulainen
Chris Angelico writes: > On Sun, May 21, 2017 at 9:43 PM, Jussi Piitulainen wrote: >> It happened to me recently when cloning a git repository from GitHub, >> using GitHub Desktop, to a Mac OS file system. Some filenames differed >> only in case, like "INFO" and "info" in the same directory. Mac O

Re: How to install Python package from source on Windows

2017-05-21 Thread Chris Angelico
On Sun, May 21, 2017 at 9:43 PM, Jussi Piitulainen wrote: > It happened to me recently when cloning a git repository from GitHub, > using GitHub Desktop, to a Mac OS file system. Some filenames differed > only in case, like "INFO" and "info" in the same directory. Mac OS > considered them the same

Re: How to install Python package from source on Windows

2017-05-21 Thread Jussi Piitulainen
Chris Angelico writes: > On Sun, May 21, 2017 at 8:23 PM, bartc wrote: >> On 20/05/2017 19:37, Chris Angelico wrote: >> >>> rosuav@sikorsky:~/linux$ find -name \*.c -or -name \*.h | wc -l >>> 44546 >>> >>> These repositories, by the way, correspond to git URLs >>> https://github.com/python/cpython

Re: How to install Python package from source on Windows

2017-05-21 Thread Christian Gollwitzer
Am 21.05.17 um 12:23 schrieb bartc: On 20/05/2017 19:37, Chris Angelico wrote: rosuav@sikorsky:~/linux$ find -name \*.c -or -name \*.h | wc -l 44546 These repositories, by the way, correspond to git URLs https://github.com/python/cpython, git://pike-git.lysator.liu.se/pike.git, git://source.wi

Re: How to install Python package from source on Windows

2017-05-21 Thread Chris Angelico
On Sun, May 21, 2017 at 8:23 PM, bartc wrote: > On 20/05/2017 19:37, Chris Angelico wrote: > >> rosuav@sikorsky:~/linux$ find -name \*.c -or -name \*.h | wc -l >> 44546 >> >> These repositories, by the way, correspond to git URLs >> https://github.com/python/cpython, >> git://pike-git.lysator.liu.

Re: How to install Python package from source on Windows

2017-05-21 Thread bartc
On 20/05/2017 19:37, Chris Angelico wrote: rosuav@sikorsky:~/linux$ find -name \*.c -or -name \*.h | wc -l 44546 These repositories, by the way, correspond to git URLs https://github.com/python/cpython, git://pike-git.lysator.liu.se/pike.git, git://source.winehq.org/git/wine, and https://github

Re: How to install Python package from source on Windows

2017-05-20 Thread Michael Torrie
On 05/20/2017 03:56 PM, bartc wrote: > BTW /does/ Linux compile on /any/ modern compiler? I heard it was so > difficult to compile that gcc had to be specially modified to make it > possible. The kernel compiles with recent bog standard gcc compilers just fine. The last time there was an issue w

Re: How to install Python package from source on Windows

2017-05-20 Thread Larry Martell
On Sat, May 20, 2017 at 5:56 PM, bartc wrote: > I would say there are two types of people: those who care about the answer, > and those who don't. I say there are 10 types of people in this world. Those who understand binary and those who don’t. -- https://mail.python.org/mailman/listinfo/python

Re: How to install Python package from source on Windows

2017-05-20 Thread bartc
On 20/05/2017 19:37, Chris Angelico wrote: On Sun, May 21, 2017 at 4:11 AM, bartc wrote: (Which is exactly what I strive to do. Although my projects are small, they could still involve dozens of source and support files, and require running non-standard tools to build, which would then requir

Re: How to install Python package from source on Windows

2017-05-20 Thread Steve D'Aprano
On Sun, 21 May 2017 04:11 am, bartc wrote: > You've reduced > the job of building a set of kitchen units to hammering in just one > nail "Where's the fridge go?" "You don't need a fridge. Just put things outside, in the snow. When it snows." "Okay, how do I install a gas oven?" "Sorry, you can

Re: How to install Python package from source on Windows

2017-05-20 Thread Chris Angelico
On Sun, May 21, 2017 at 4:11 AM, bartc wrote: > On 20/05/2017 17:49, Chris Angelico wrote: >> >> On Sat, May 20, 2017 at 8:46 AM, Viktor Hagström >> wrote: >>> >>> I have followed this discussion since the beginning, and I have been >>> intrigued. I recently read a relevant blog post that I'd lik

Re: How to install Python package from source on Windows

2017-05-20 Thread bartc
On 20/05/2017 17:49, Chris Angelico wrote: On Sat, May 20, 2017 at 8:46 AM, Viktor Hagström wrote: I have followed this discussion since the beginning, and I have been intrigued. I recently read a relevant blog post that I'd like to share. It has arguments for both sides: http://nullprogram.c

Re: How to install Python package from source on Windows

2017-05-20 Thread Chris Angelico
On Sat, May 20, 2017 at 8:46 AM, Viktor Hagström wrote: > I have followed this discussion since the beginning, and I have been > intrigued. I recently read a relevant blog post that I'd like to share. It > has arguments for both sides: http://nullprogram.com/blog/2017/03/30/. > """ There’s a mu

Re: How to install Python package from source on Windows

2017-05-20 Thread breamoreboy
On Friday, May 19, 2017 at 1:41:02 AM UTC+1, Michael Torrie wrote: > On 05/18/2017 05:15 PM, Steve D'Aprano wrote: > > Oh but this is Bart we're talking about. Of course his code generator is > > perfect, it is unthinkable that it emits incorrect code. > > I think we've picked on Bart enough for o

Re: How to install Python package from source on Windows

2017-05-20 Thread breamoreboy
On Thursday, May 18, 2017 at 8:32:18 PM UTC+1, bartc wrote: > On 18/05/2017 18:11, Steve D'Aprano wrote: > > > Seems a bit hypocritical, don't you think? Expecting people to go spelunking > > into your undocumented mystery language source code to work out how to > > build it from source, and then

Re: How to install Python package from source on Windows

2017-05-20 Thread Viktor Hagström
I have followed this discussion since the beginning, and I have been intrigued. I recently read a relevant blog post that I'd like to share. It has arguments for both sides: http://nullprogram.com/blog/2017/03/30/. 2017-05-20 0:01 GMT+02:00 eryk sun mailto:eryk...@gmail.com>>: On Fri, May 19, 2

Re: How to install Python package from source on Windows

2017-05-20 Thread Gregory Ewing
Steve D'Aprano wrote: Or /sbin or /usr/sbin or /opt :-) Yes, there are a few others. The point is that there is a small number of standard places for executables, and if you have them on your path, you're good to go. With Visual Studio it seems things get installed somewhere that's not on you

Re: How to install Python package from source on Windows

2017-05-19 Thread Steve D'Aprano
On Sat, 20 May 2017 10:43 am, Gregory Ewing wrote: > bartc wrote: [...] >> By programmer-hostile do you mean Windows? > > Yes. At least it seems that way to people who are used to developing > on unix systems. For example, your problems with not being able to > run programs from the command line

Re: How to install Python package from source on Windows

2017-05-19 Thread Gregory Ewing
bartc wrote: If I delete the .a file and do make again, then it will give me a list of object files comprising libpython3.6m.a (not sure why it needs to be a library, rather than bundle the list of .o files with python.o). Most of the interpreter is built as a library so that other programs ca

Re: How to install Python package from source on Windows

2017-05-19 Thread Gregory Ewing
bartc wrote: Compiling a C file should be nothing at all. Especially of a known, working program. Writing reasonably portable C is feasible, as long as you don't use any platform-specific system calls or libraries, don't do any low-level bit twiddling that depends on data sizes and endianness,

Re: How to install Python package from source on Windows

2017-05-19 Thread Gregory Ewing
Steve D'Aprano wrote: The build process on Windows is relatively neglected compared to Linux (but not as much as on OS X) If it's neglected on OSX, it's doing pretty well despite that! I built Python 3.5.1 on my 10.6 system not long ago, and it worked flawlessly. -- Greg -- https://mail.python

Re: How to install Python package from source on Windows

2017-05-19 Thread Gregory Ewing
bartc wrote: Actually, I remember struggling to get even tcc installed! I think I had to compile from source, using configure and make (and that worked, this being Linux). But didn't know how to set it up to work from anywhere. So CC=tcc might not work. If it comes with a standard gnu config

Re: How to install Python package from source on Windows

2017-05-19 Thread Michael Torrie
On 05/19/2017 03:38 PM, bartc wrote: > If I delete the .a file and do make again, then it will give me a list > of object files comprising libpython3.6m.a (not sure why it needs to be > a library, rather than bundle the list of .o files with python.o). The reason is that the core of CPython is a

Re: How to install Python package from source on Windows

2017-05-19 Thread Chris Angelico
On Sat, May 20, 2017 at 9:29 AM, bartc wrote: >> I disagree entirely. For a person who claims to have 40 years >>programming experience I say he's completely clueless. Until such time >> as he can show that he understands source code control, the >> difficulties in building cross platform code a

Re: How to install Python package from source on Windows

2017-05-19 Thread bartc
On 19/05/2017 23:22, breamore...@gmail.com wrote: On Friday, May 19, 2017 at 1:41:02 AM UTC+1, Michael Torrie wrote: On 05/18/2017 05:15 PM, Steve D'Aprano wrote: Oh but this is Bart we're talking about. Of course his code generator is perfect, it is unthinkable that it emits incorrect code.

Re: How to install Python package from source on Windows

2017-05-19 Thread eryk sun
On Fri, May 19, 2017 at 9:18 PM, bartc wrote: > On 19/05/2017 19:53, eryk sun wrote: >> >> On Fri, May 19, 2017 at 1:57 PM, bartc wrote: > > >>> The 'improvement' seems to involve making things more complicated rather >>> than less. > > >> You don't need a full Visual Studio 2015 installation. Yo

Re: How to install Python package from source on Windows

2017-05-19 Thread bartc
On 19/05/2017 12:00, bartc wrote: These are the binary files on my Python 3.4 system: python.exe pythonw.exe DLLs/pyexpat.pyd DLLs/python3.dll ... So, which sources are needed to compile and link python.exe for example? Which headers or other files need to be synthesised for them [to] be co

Re: How to install Python package from source on Windows

2017-05-19 Thread bartc
On 19/05/2017 19:53, eryk sun wrote: On Fri, May 19, 2017 at 1:57 PM, bartc wrote: The 'improvement' seems to involve making things more complicated rather than less. You don't need a full Visual Studio 2015 installation. You can install Visual C++ 2015 Build Tools [1], which includes MSBu

Re: How to install Python package from source on Windows

2017-05-19 Thread eryk sun
On Wed, May 17, 2017 at 10:49 PM, Michael Torrie wrote: > > In fact Python 3.6 ships with the latest version of the MSVCRT universal > runtime. Windows Python 3.6 is distributed with vcruntime140.dll, which is a relatively small component of the CRT that's closely coupled to the compiler. The Un

Re: How to install Python package from source on Windows

2017-05-19 Thread eryk sun
On Fri, May 19, 2017 at 1:57 PM, bartc wrote: >> Yes, we acknowledge that there's much improvement needed to building >> Python, especially on Windows. > > The 'improvement' seems to involve making things more complicated rather > than less. > > (So I need VS2015, .NET, GIT, SVN and MSBUILD. Or ma

Re: How to install Python package from source on Windows

2017-05-19 Thread bartc
On 19/05/2017 12:41, Steve D'Aprano wrote: On Fri, 19 May 2017 08:36 pm, bartc wrote: Which gcc version? I can't get mine (5.1.0) to report any of these, even with -Wall -Wextra -Wpedantic. [steve@ando langs]$ gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55) Interesting; an older

  1   2   3   >