Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19208

Re: Please don't use "setuptools", the "rotten .egg" install system.

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'mysql,': 0.04; 'pypi': 0.04; 'perl,': 0.05; 'repository': 0.05; ':-)': 0.06; 'compiler': 0.07; 'forcing': 0.07; 'pypy': 0.07; 'script,': 0.07; 'python': 0.08; 'all?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'setup.py': 0.09; 'share.': 0.09; 'subject:don': 0.09; 'am,': 0.12; 'packages.': 0.13; '"python': 0.15; 'argument': 0.15; 'ciao,': 0.16; 'doubtful': 0.16; 'emanuele': 0.16; 'evidently': 0.16; 'fits': 0.16; 'install.': 0.16; 'latter,': 0.16; 'subject:install': 0.16; 'there...': 0.16; 'things"': 0.16; 'whining': 0.16; 'work"': 0.16; 'worth.': 0.16; 'yum,': 0.16; 'wrote:': 0.16; 'meant': 0.17; 'linux': 0.17; '>>>': 0.18; 'appropriate.': 0.18; 'java,': 0.19; "doesn't": 0.22; 'wrote': 0.22; 'hopefully': 0.24; 'subject:use': 0.24; 'update.': 0.24; "wasn't": 0.25; 'writes:': 0.25; 'windows': 0.26; 'module': 0.26; 'stuff': 0.26; '"the': 0.26; 'fact': 0.27; "i'm": 0.27; 'language.': 0.28; 'subject:" ': 0.28; 'compile': 0.28; 'subject: .': 0.28; 'seem': 0.29; 'environment': 0.30; 'but...': 0.30; 'installer': 0.30; 'widget': 0.30; 'usually': 0.30; 'unable': 0.31; 'correct': 0.31; 'version': 0.31; 'pointing': 0.32; 'does': 0.32; 'yet': 0.32; 'supposed': 0.32; "isn't": 0.32; 'sort': 0.32; 'header:User-Agent:1': 0.33; 'instead': 0.33; 'to:addr:python- list': 0.33; 'there': 0.33; 'nobody': 0.34; 'header:X-Complaints- To:1': 0.34; 'running': 0.35; 'trouble': 0.35; 'things': 0.35; 'install': 0.35; 'uses': 0.36; 'thread': 0.36; 'skip:" 10': 0.36; 'with.': 0.37; 'but': 0.37; 'received:org': 0.37; 'another': 0.37; 'enough': 0.37; 'easier': 0.38; 'should': 0.38; 'that.': 0.39; 'point': 0.39; 'why': 0.39; 'define': 0.39; 'files': 0.39; 'doing': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; 'packages': 0.40; 'subject:Please': 0.40; 'more': 0.61; 'custom': 0.61; 'your': 0.61; 'john': 0.62; 'links,': 0.64; 'market': 0.64; 'here': 0.64; 'proved': 0.67; 'benefit': 0.68; 'yourself': 0.69; 'flash': 0.74; 'imagine': 0.74; 'funny': 0.76; 'invest': 0.80; '"just': 0.84; "'em": 0.84; '12:56': 0.84; 'package?': 0.84; 'packaged': 0.84; 'precompiled': 0.84; 'quando': 0.84; 'standard,': 0.84; 'rpm': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Lele Gaifax <lele@metapensiero.it>
Subject Re: Please don't use "setuptools", the "rotten .egg" install system.
Date Sun, 22 Jan 2012 10:38:37 +0100
Organization Nautilus Entertainments
References <4f170e46$0$1659$742ec2ed@news.sonic.net> <mailman.4855.1326964340.27778.python-list@python.org> <4f184d54$0$1714$742ec2ed@news.sonic.net>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host adsl148-40.aknet.it
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)
Cancel-Lock sha1:ckwM8YkW5DZdSvaTnRLSzqgloXc=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4922.1327225130.27778.python-list@python.org> (permalink)
Lines 71
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1327225130 news.xs4all.nl 6892 [2001:888:2000:d::a6]:46866
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19208

Show key headers only | View raw


John Nagle <nagle@animats.com> writes:

> On 1/19/2012 12:56 AM, Lele Gaifax wrote:
>> John Nagle<nagle@animats.com>  writes:
>>
>>> "egg" files are usually more trouble than they're worth.
>>
>> I find it really funny you say so, just after another thread where you
>> proved yourself unable to come up with a working Python environment
>> lacking an already packaged RPM of version 2.7...
>
>     I can do it, I just have better things to do than system
> administration.  The fact that Python doesn't "just work" is
> part of why it's losing market share.

Hopefully whining and asserting doubtful things here are not "the [only]
better things" you have to do :-)

>> I know "egg" are not standard, but these days are still the only way to
>> install Python-related stuff that includes precompiled stuff
>
> If it can be built with "python setup.py build", go that way.

I wasn't able to make the point clear: imagine you wrote one beatiful
web widget built in Flash, what would you prefer, distribute just that
widget with your Python module that uses it, or forcing the recipient to
have a Flash compiler on its own and compile it every time you install
the package? If the latter, why are you running on RH instead of (say)
Gentoo??


> A "setup.py" script, invoked with the correct Python, reliably
> knows which Python it is supposed to update.  "egg" files
> usually have trouble with that.

Never had that problem, but please, define "usually" and "trouble".

> Prebuilt systems should use the installer for the distro, and work
> with yum, apt-get, or the Windows installer as appropriate.

Why should I, when one format fits 'em all? I'm not against
"proprietary" mechanism, but I surely see the benefit of an easier way
of deploying my custom packages.

> It does seem to be necessary to install the development tools
> on a Linux system just to get various Python packages to install.
> Major packages are still all over the place.
> PyPy is just a directory of links, not a repository like CPAN.

You surely meant PyPI there... but even then, I cannot see the
point. It's evidently easy enough pushing there yet-another-link
pointing to a prebuilt egg...

> Python sort of slips through the cracks.  Nobody is doing
> the work to make PyPy handle these problems, and Python isn't
> important enough for MySQL, etc. to support the connector for
> the language.  (They support Perl, C, Java, etc., but not
> Python.)

Yet another OT argument but... hopefully nobody is forcing you to stay
on the losing side of the market :-)

Anyway, to me MySQL isn't important enough for Python, there are way
better DB engines out there to invest my time with.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Please don't use "setuptools", the "rotten .egg" install system. John Nagle <nagle@animats.com> - 2012-01-18 10:24 -0800
  Re: Please don't use "setuptools", the "rotten .egg" install system. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-18 12:26 -0800
  Re: Please don't use "setuptools", the "rotten .egg" install system. Lele Gaifax <lele@metapensiero.it> - 2012-01-19 09:56 +0100
    Re: Please don't use "setuptools", the "rotten .egg" install system. John Nagle <nagle@animats.com> - 2012-01-19 09:05 -0800
      Re: Please don't use "setuptools", the "rotten .egg" install system. Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-01-19 17:21 +0000
      Re: Please don't use "setuptools", the "rotten .egg" install system. Michael Torrie <torriem@gmail.com> - 2012-01-20 09:20 -0700
      Re: Please don't use "setuptools", the "rotten .egg" install system. Lele Gaifax <lele@metapensiero.it> - 2012-01-22 10:38 +0100
  Re: Please don't use "setuptools", the "rotten .egg" install system. Raffaele Ricciardi <rfflrccrd@gmail.com> - 2012-01-21 00:50 +0000

csiph-web