Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Donald Stufft Newsgroups: linux.debian.maint.python Subject: Re: Amend Debian Python Proposal to Include More Python Metadata? Date: Sat, 23 Jan 2016 00:30:02 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Jan 22 23:27:32 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.72 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -7 Dkim-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=stufft.io; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=B9Y9i VBVUQ7U86/nhwBQNg7sIkU=; b=PQsmeqHRSSNzfwBI4/oiu8RB/5n4IwUitNFwo kBI+rY4YkE4xPiO6JeeT7xnxuNCJYBgGd/DjgbeYmuxQ4L3g4AldFsD0/hNF3OP5 AAPEeNWTx3chbO83VaWPgtDTMd82l70OJlzy/2skmwn83TwuzGSj465egggbvPWY DafMDk= Dkim-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=B9Y9iVBVUQ7U86/nhwBQNg7sIkU=; b=iQjje 4njvQPCspu3WQgoOBOxMwF5QsEgtO+6+TAjhgoNeJtLiM5jvM7GVgvr7xwuTGNE0 3oNGEgsvKq3vhTlwDvg5wlMDhTQ4JjniVs5vHRF8v2q7zYLD2c5aoA1Eo3t+LJ74 tWn4pNN9yqRwxDRGBSnC+RWUmrf69WA8j/+CCQ= X-Sasl-Enc: Dut6kQ0vedBrD3FAoyrNk2WsIL9PTZ8gwUzaGa5xxy6z 1453505238 MIME-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_E29F22C4-4BA7-4B13-A91B-20DEF479B90C"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-PGP-Agent: GPGMail 2.6b2 X-Mailer: Apple Mail (2.3112) X-Mailing-List: archive/latest/13458 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/2E4882FA-FB4F-4DD2-AEB7-E63DEDAD69CD@stufft.io Approved: robomod@news.nic.it Lines: 94 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Fri, 22 Jan 2016 18:27:08 -0500 X-Original-Message-ID: <2E4882FA-FB4F-4DD2-AEB7-E63DEDAD69CD@stufft.io> X-Original-References: <20160122173051.0363c23f@anarchist.wooz.org> <59A637C6-1578-49B1-A785-D16740B3AAFF@stufft.io> <3664487.H8CRQn3UrC@kitterma-e6430> Xref: csiph.com linux.debian.maint.python:8135 --Apple-Mail=_E29F22C4-4BA7-4B13-A91B-20DEF479B90C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 22, 2016, at 6:04 PM, Scott Kitterman = wrote: >=20 > On Friday, January 22, 2016 05:50:13 PM Donald Stufft wrote: > ... >> We already have an option like this, the =E2=80=94root option which = will just append >> a different prefix to all of the installation paths. So essentially = instead >> of invoking ``python setup.py install =E2=80=94root /tmp/something/`` = which is what >> I think you=E2=80=99re doing now, you=E2=80=99d do ``pip install = =E2=80=94root /tmp/something/ >> =E2=80=94no-deps .`` and it=E2=80=99d just work similarly to what you = have now, except pip >> would be responsible for interacting with the Python build system. > ... >=20 > Why would pip interacting with the Python build system instead of = setuptools > be better? >=20 > Scott K setuptools *is* the build system right now (or distutils if you=E2=80=99re= still using that). So the benefit to Debian right now would be: We maintain the distutils/setuptools hacks to make them suck less so you don=E2=80=99t = have to! Longer term, we want to enable people to go hog wild and invent their = own build systems instead of trying to do it all one size fits all with = everyone miserable because it doesn=E2=80=99t solve anyones problems nicely. At = that point the benefit to Debian becomes that instead of having to implement the = standard build tool interface that these tools implement (Which will most likely = be geared towards produces wheels, not towards putting files on disk in an installed location) Debian can just let us maintain that bit of code = too. Of course, if Debian would prefer to interact directly with these tools, = it=E2=80=99s totally fine to do that. The whole point of us doing this work and = trying to define formats and APIs and not bless implementations is so anyone who = wants to can slot in their own tool in the process instead of being forced to = use some blessed tool. ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 = DCFA --Apple-Mail=_E29F22C4-4BA7-4B13-A91B-20DEF479B90C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJWorrVAAoJEG48vOkzctz674UQAI0RBnYUzrQyFqe+jqQJiiaV tOkmTRVycljLdQfNUzfj9xMqZ1fxvyf8eoopz299ON5sqKcsYa6StqLnVSDG7KGl dCmXOip7WWRuFK5h++DAUGqRyQDRQRiMNRmXWZ8w0vxZyR5SGgRdJP2AhAi2jKA+ p4BGDjh8BsrG6z7RpBL0UjhNV1UyFABNM2tVCfb6eNLu1ux5v/+nKJbrg4i/5K2q eoIs6UUMx0WxoydcV4TQCc5FLsalF4BqExj2DukA9nMWhoT2erT468L+Nz29wtp+ naRpnQEdutTGbf8YojjP/iuM+qUBe/XFQQYWWbHLzvm0MieminRcXbyLGV7fyuNk +7a9Ap3GYKUkrepwCTV1umcXOFQZ2jcaP4wWcziFaZ/Uju2YN+Fzi5fN8XuwEvEp 3FAXflSGCk/mRMUHfO3TXqembQOH786bIQLHK0yT5Hjt6uNX+gX16h5oySMYksQ1 eXKGPbZTmo06BDJZYxUr37j84iK+DQ/9tpoFV71dh64Eu5nvx7n0p65cMCSYiGN+ uWk7DC+OTUkorb0nRTFdvYMyFvy0ucX5JnivBzGbChoNKhtid9n8DWftVmxHOENb JjlRv/gRHcwRUpNkmdnBzihs0Mtjs4ZQ6iJ5T7dMJi7sugtWXeBpCQynNo7uxJAu pbrzK0oWP3Wl85TqQyfZ =NpX4 -----END PGP SIGNATURE----- --Apple-Mail=_E29F22C4-4BA7-4B13-A91B-20DEF479B90C--