Re: [Python-ideas] Using Python for end user applications

2017-02-15 Thread Steven D'Aprano
On Tue, Feb 07, 2017 at 12:05:49AM -0600, C Anthony Risinger wrote: > How do I redistribute and successfully install Python, dependencies, and an > application with the least possible steps for the end user? For any > platform or persona? For Linux, Unix and Mac, where you can generally expect Py

Re: [Python-ideas] Using Python for end user applications

2017-02-10 Thread Michel Desmoulin
This could change when webassembly is stable. If we manage to make a Python => webassembly compiler, I doubt it will make Python in the browser happen. But it certainly can make Python in NodeJS happen, and so in Electron apps. Le 09/02/2017 à 19:56, Nick Coghlan a écrit : > On 7 February 2017 a

Re: [Python-ideas] Using Python for end user applications

2017-02-09 Thread Nick Coghlan
On 7 February 2017 at 15:47, Thomas Kluyver wrote: > I've been thinking for a while about Python apps using Electron (Positron? > ;-). It's an interesting idea from the Python side, but I struggle to come > up with reasons why developing an Electron+Python app would be easier than > developing a r

Re: [Python-ideas] Using Python for end user applications

2017-02-08 Thread Paul Moore
On 8 February 2017 at 00:49, eryk sun wrote: >> LoadLibrary might work (I'm only calling Py_Main). I seem to recall >> trying this before and having issues but that might have been an >> earlier iteration which made more complex use of the C API. Also, I >> want to load python3.dll (the stable ABI

Re: [Python-ideas] Using Python for end user applications

2017-02-07 Thread eryk sun
On Tue, Feb 7, 2017 at 3:27 PM, Paul Moore wrote: > On 7 February 2017 at 14:29, Steve Dower wrote: >> You can leave python.exe out of your distribution to avoid it showing up on >> PATH, or if your stub explicitly LoadLibrary's vcruntime140.dll and then >> python36.dll you should be able to put

Re: [Python-ideas] Using Python for end user applications

2017-02-07 Thread Paul Moore
On 7 February 2017 at 14:29, Steve Dower wrote: > You can leave python.exe out of your distribution to avoid it showing up on > PATH, or if your stub explicitly LoadLibrary's vcruntime140.dll and then > python36.dll you should be able to put them wherever you like. Understood, but I may need pyth

Re: [Python-ideas] Using Python for end user applications

2017-02-07 Thread Thomas Kluyver
On Tue, Feb 7, 2017, at 02:29 PM, Steve Dower wrote: > I think what we really want is a self-extractor that "installs" into > the user's AppData directory without prompting for admin. There's a PR in the works for Pynsist that will add a non-admin per-user install into AppData: https://github.co

Re: [Python-ideas] Using Python for end user applications

2017-02-07 Thread Steve Dower
‎2/‎7/‎2017 5:03 To: "Thomas Kluyver" Cc: "Python-Ideas" Subject: Re: [Python-ideas] Using Python for end user applications On 7 February 2017 at 12:33, Thomas Kluyver wrote: > On Sat, Jan 28, 2017, at 11:26 AM, Paul Moore wrote: >> I'm working on >>

Re: [Python-ideas] Using Python for end user applications

2017-02-07 Thread Paul Moore
On 7 February 2017 at 12:33, Thomas Kluyver wrote: > On Sat, Jan 28, 2017, at 11:26 AM, Paul Moore wrote: >> I'm working on >> a project to bundle a working zipapp with the embedded distribution to >> make a standalone exe - would having something like that make any >> difference in your environme

Re: [Python-ideas] Using Python for end user applications

2017-02-07 Thread Thomas Kluyver
On Sat, Jan 28, 2017, at 11:26 AM, Paul Moore wrote: > I'm working on > a project to bundle a working zipapp with the embedded distribution to > make a standalone exe - would having something like that make any > difference in your environment? I'd be interested in this, and whether there's any po

Re: [Python-ideas] Using Python for end user applications

2017-02-06 Thread C Anthony Risinger
On Sat, Jan 28, 2017 at 5:26 AM, Paul Moore wrote: > On 28 January 2017 at 02:11, C Anthony Risinger wrote: > > I can't articulate it we'll, or even fully isolate the reasons for it. > All I > > really know is how I feel when peers ask me about Python or the reading I > > get when others speak a