Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'lesser': 0.07; 'postgresql': 0.07; 'check,': 0.09; 'degree,': 0.09; 'root,': 0.09; 'sucks': 0.09; 'url:blog': 0.10; 'cc:addr :python-list': 0.11; 'developers,': 0.11; 'python': 0.11; 'url:download': 0.12; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'likewise': 0.16; 'naming': 0.16; 'nerds': 0.16; 'parts,': 0.16; 'sense:': 0.16; 'url:windows': 0.16; 'apps': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; 'users.': 0.18; 'bit': 0.19; 'examples': 0.20; 'command': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'installation': 0.23; '(or': 0.24; 'cc:2**0': 0.24; 'distribute': 0.26; 'header :In-Reply-To:1': 0.27; 'michael': 0.29; 'am,': 0.29; 'topic': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'go.': 0.31; 'linux': 0.33; 'says': 0.33; 'url:python': 0.33; 'core': 0.34; 'subject:the': 0.34; 'problem': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'url:downloads': 0.36; 'url:org': 0.36; 'should': 0.36; 'effort': 0.37; 'application': 0.37; 'manager': 0.38; 'audio': 0.38; 'hat': 0.38; 'stable': 0.38; 'fact': 0.38; 'does': 0.39; 'sure': 0.39; 'major': 0.40; 'how': 0.40; 'even': 0.60; 'easy': 0.60; 'course.': 0.60; 'most': 0.60; 'tell': 0.60; 'latest': 0.67; 'benefit': 0.68; 'mar': 0.68; 'apart': 0.72; '2015': 0.84; 'apt-get': 0.84; 'weaknesses': 0.91; 'to:none': 0.92; 'imagine': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=9fNr9Fad7/h4VJhcNnM7l+k5LfD3KY5y0KD6w3r0KVY=; b=y0+91hCqePL7ZSoJS07Hrjehx1/l6HAgPjR3rfZo+GpyR9pUFyFILtA+0s70OTc9SO GZuqPiOCFDDAaDlqD/ZrzB5Ilfk6VaahR2NTdIFVfpIEt2e0oSAhLOxmYc9RgbsDI5c/ QuwjE7dUZxjMJ0nIyeAj7uh6y8HdJuSysSAM1K7WnN/GqfZGQbbbmF6Fw8B9L7WuXAp1 aN6z9NfFsT2gMP1BbvgyUp1xfK0CjXzR/WDgW1AI8Yq1lBMfd5JZ0LXPVPV0wKOJlKuT TE4QQ7kw2JWGbK3dh7giDhyp2rrCNtJ4k+twCQw/eZCrQMuiyD2cffBRDqnE9suaJLzJ /how== MIME-Version: 1.0 X-Received: by 10.50.79.161 with SMTP id k1mr113278537igx.14.1426543358640; Mon, 16 Mar 2015 15:02:38 -0700 (PDT) In-Reply-To: <550710DD.3030405@gmail.com> References: <20150316025301.GA94576@cskk.homeip.net> <873855tts4.fsf@jester.gateway.sonic.net> <55068cb0$0$12923$c3e8da3$5496439d@news.astraweb.com> <8761a1gxhq.fsf@jester.gateway.sonic.net> <550710DD.3030405@gmail.com> Date: Tue, 17 Mar 2015 09:02:38 +1100 Subject: Re: Python 2 to 3 conversion - embrace the pain From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 52 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1426543361 news.xs4all.nl 2845 [2001:888:2000:d::a6]:49124 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:87584 On Tue, Mar 17, 2015 at 4:20 AM, Michael Torrie wrote: > A bit off topic here, but all of this highlights major weaknesses in the > Linux software distribution model. While we Linux nerds like to poke fun > at Windows for not even having a proper package manager until Windows > 10, in fact the package manager is not always the best way to go. Works > well for core system parts, and for distro maintainers. But it sucks > miserably for developers, and to a lesser degree, end users. I should > be able to have a stable core distro like RHEL 7 (or any distro), but > develop and distribute apps for Python 3 easily. Say what you want > about Red Hat's Poettering, but what he says about this problem makes a > lot of sense: > http://0pointer.net/blog/revisiting-how-we-put-together-linux-systems.html. It most assuredly does NOT suck for end users. Apart from issues of naming (grab "avconv" or "ffmpeg"?), it's easy - if someone needs to do audio manipulation, I can tell him/her to "sudo apt-get install sox" and that'll get the necessary program on any Debian-based distro, and likewise one command for any Red Hat distro. I'm not sure what you mean by "for developers" - do you mean that it's hard to package your software for each distro? Because the package manager benefits you even if you don't package your own program. Imagine you need a PostgreSQL database for your Python application - which also means you need psycopg2, of course. How do you go about writing installation instructions? * WINDOWS * 1) Install the latest Python 3 from https://www.python.org/downloads/windows/ 2) Install the appropriate version of psycopg2 from http://www.stickpeople.com/projects/python/win-psycopg/ 3) Install the latest PostgreSQL from http://www.postgresql.org/download/windows/ 4) Install my program from blah blah blah * LINUX: Debian-based * 1) As root, type: apt-get install postgresql python3-psycopg2 2) Install my program from blah blah blah * LINUX: Red Hat-based * 1) As root, type: yum install postgresql python3-psycopg2 2) Install my program from blah blah blah (I don't have a Red Hat system handy to check, so the above examples might need to be tweaked. But you get the idea.) Without actually going to any effort to build your own packages, you can still take advantage of one-command installation of all your dependencies. Without a package manager, you have to assemble them from all over the internet. I call that a benefit :) ChrisA