Path: csiph.com!news.freedyn.net!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:20:02 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Jan 22 23:10:53 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= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=tU6f4 hhD+Sd1h04KRHC3G0d6szQ=; b=kMOt5pue3lZ76zqO8110RLXr9ztf/4Z2/FV6K Q/9p2itoMVJmnVqHnuCXfzeH1mhQ+calOSikALsl2Rh6+hLmEGHhwH95U5v99PF0 24wke3w7wYIRlagJCI3HPXEYL4MkFclLk2d8uGE/Pq1FfJcwtpnzR+rmGvC66Fek jzf3WY= Dkim-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=tU6f4hhD+Sd1h04KRHC3G0d6szQ=; b=bRgH1 2ZJjudYQDNl8pTmCNzO7rmmNUfFq3WqhG2oySvQro9V8wI52oxgBAYvhMEKQJ4bh yePbnzEczAC5/L55HM80Y+XQ++I4518zzNMqcjRMRvcvbyHe3lQZw3BD8nPwL9y/ PZraVmxspXIm/zMKFR8upiLjRUIlPdY5Ff6Ge4= X-Sasl-Enc: leTAayAvpR9XvVdej7QIFPqse4vDcpo2Dro6DnwvabRL 1453504237 Content-Type: multipart/signed; boundary="Apple-Mail=_7B611A74-59A6-4CEC-9451-15C6A85890E1"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-PGP-Agent: GPGMail 2.6b2 X-Mailer: Apple Mail (2.3112) X-Mailing-List: archive/latest/13457 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/46DBC027-2628-4390-9E05-8619B374027E@stufft.io Approved: robomod@news.nic.it Lines: 111 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 22 Jan 2016 18:10:26 -0500 X-Original-Message-ID: <46DBC027-2628-4390-9E05-8619B374027E@stufft.io> X-Original-References: <20160122173051.0363c23f@anarchist.wooz.org> <59A637C6-1578-49B1-A785-D16740B3AAFF@stufft.io> <20160122180217.28bd2644@anarchist.wooz.org> Xref: csiph.com linux.debian.maint.python:8134 --Apple-Mail=_7B611A74-59A6-4CEC-9451-15C6A85890E1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 22, 2016, at 6:02 PM, Barry Warsaw wrote: >=20 > On Jan 22, 2016, at 05:50 PM, Donald Stufft wrote: >=20 >> Forget that pip can fetch files from PyPI and install them for a = moment and >> consider the command ``pip install .``. Fundamentally this is similar = to the >> command ``make install`` right? >=20 > Please remind me what the long term plan for this is. Let's say it's = 2021 and > you and your amazing team of dozens of distutil-sig developers have = been > cranking away the whole time. >=20 > What tool will be used to build Python packages? Whatever people want! At least, that=E2=80=99s my hope. Ideally we get = away from the idea that any particular build system is the right build system = (because the needs of a pure python thing like six.py is vastly different from = Numpy which needs Fortran and other crazy things). My end goal is, as long as your build system can consume a sdist (or = maybe a repository too, still up in the air, but some kind of source input) = and produce a wheel (whether this is actually a zipped up wheel file or a = properly formatted directory is also still up in the air). Then you have a good = enough build system and that is all it needs to do, it doesn=E2=80=99t need to = also implement installing and what not, that=E2=80=99s some other tool=E2=80=99s job. >=20 > What tool will be used to upload (built/source?) Python packages to > WarehouseNG? Either twine, or we=E2=80=99ll fold that functionality into pip. >=20 > What tool will be used to download Python packages from WarehouseNG? Whatever tool you want! We=E2=80=99ll have defined formats so as long as = your tool speaks those formats it can install them. In the case of already = =E2=80=9Ccompiled=E2=80=9D (pure Python or not) binary .whl files it can just download them, unzip, move into the correct location + install deps and such. For source files (in a not-yet thought out or done sdist 2.0 thing) it can download the sdist 2.0 file, install the build dependencies, invoke the build tool = for this package (from above), get the wheel it produced, and then install that as if it had downloaded it from PyPI. >=20 > What tool will be used to install packages from WarehouseNG into an = importable > location? Same answer here. >=20 > Cheers, > -Barry ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 = DCFA --Apple-Mail=_7B611A74-59A6-4CEC-9451-15C6A85890E1 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 iQIcBAEBCgAGBQJWorbtAAoJEG48vOkzctz6c78QALRUbqEmgspqcfHH4WKL5k6O 3Vty01OdkT+B/lqf1KgEjAY/D8tgLQZqepumpmEG4385trEizj0Ypi7Hr9PFFHIf cn1nh4kZ13M4TdCS1q9Pj1tGBbkV+PwsFLmKb+zFjsf3fgNQIsJIcEbFlza1yuah WyGw+dkFQ7/E5CrBO+cvELrugOrk3MVinDznqFYOloGmXCUqanRws+ZqVVnX5HWj C47zg/ysbVMI9yqvdQq3xe72A5HkXYxdpH+i59kP6VPVanH+GZ4h1L0nk3Bp2e6p RqQhW8xyiM+A5inZ/FPdtEaSOLRNMLlWEsPdZNS14KBFbm0ObJm4gHSS4DQQhscj FO0tmSjkPZqDr4KiAG2FP8FOvipX2KiiV7szRQlfhdXil7VtcHr0FMU+But+aZ+4 jKfo80X2cB/5yhYrq4YEzv8XYOnW6PvQhv7dcccCLv6C8EyN4MsTAvjjvrBlpD0Y PzpUHdNLWAtB2pv7Wf9xoxXm1z/1OiGy7NYlZb/Qo+permQCnb8PiL1YcY6wT+F5 qbhqLOgickGdkEiaQLoNqFzPHrcF2l9YuDRtXUrTL+eTcm33F822xAjqQAJLPX5T X90nAdxbPa0x4znRQuuhyRZjRabX3Ptk+ETqG/jsHdIeBvgKjRXk2TU+tP46mKkA EvprbDCULaz9pCMVkbgQ =nB5F -----END PGP SIGNATURE----- --Apple-Mail=_7B611A74-59A6-4CEC-9451-15C6A85890E1--