Packaging uwsgi flask app for non-programmers?

Israel Brewster israel at ravnalaska.net
Tue Feb 13 18:10:58 EST 2018


> On Feb 13, 2018, at 10:02 AM, Dan Stromberg <drsalists at gmail.com> wrote:
> 
> On Tue, Feb 13, 2018 at 9:28 AM, Israel Brewster <israel at ravnalaska.net> wrote:
>> As such, I'm considering three possible solutions:
>> 
>> 1) Make some sort of installer package that includes the python3 installer
>> 2) Somehow automate the download and install of Python3, or
>> 3) re-write my code to be python 2 compatible (since python 2 is included with the OS)
>> 
>> If anyone has any suggestions on how I could accomplish 1 or 2, I'd appreciate it. Thanks!
> 
> Would using homebrew help?
> 
> http://docs.python-guide.org/en/latest/starting/install3/osx/ <http://docs.python-guide.org/en/latest/starting/install3/osx/>

That's a thought. I could offer the user the option of either a) automatically installing homebrew and then installing python3 via homebrew, or b) manually downloading and running the python3 installer.

> 
> BTW, you might use curl <url> | bash to get the ball rolling.

On that note, is there a fixed url that will always get the latest python3 installer? Of course, I might not want to do that, for example after 3.7 or 4.0 (I know, not for a while) is released, just in case something breaks with a newer release.

> 
> I wouldn't recommend moving from 3.x to 2.x, unless perhaps you use a
> common subset.

Yeah, that idea kinda left a sour taste in my mouth, but I figured I'd throw it out there as it would solve the python install issue.

-----------------------------------------------
Israel Brewster
Systems Analyst II
Ravn Alaska
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7293
-----------------------------------------------


More information about the Python-list mailing list