Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Ben Finney Newsgroups: linux.debian.maint.python Subject: Source distribution is for building from source (was: Test suite in github but missing from pypi tarballs) Date: Fri, 22 Apr 2016 01:10:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Apr 21 23:00:48 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-8.695 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 X-Injected-Via-Gmane: http://gmane.org/ Lines: 36 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: jigong.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:QYugN9RzTqqNbuR9KlCCw/1ttwI= X-Mailing-List: archive/latest/13786 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/85potio9dn.fsf_-_@benfinney.id.au Approved: robomod@news.nic.it Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 22 Apr 2016 09:00:20 +1000 X-Original-Message-ID: <85potio9dn.fsf_-_@benfinney.id.au> X-Original-References: <20160421141002.GA4590@4angle.com> X-Original-X-Complaints-To: usenet@ger.gmane.org Xref: csiph.com linux.debian.maint.python:8458 Fred Drake writes: > My reaction is really about the comment that source packages are in > PyPI "for pip". You definitely understand that it's broader than that, > but careful language is important to avoid confusing someone new, > leading to poor understanding across the community. > > Some of us still see pip as a youngling upstart. :-) And regardless of Pip's age, source distributions are definitely of interest beyond that narrow use case. Not everything in the VCS repository belongs in the Python source distribution, and publishing the source distribution at PyPI signals “this is the source for the purposes of building the distribution”. The larger point is: Getting the source, building from source, and installing the result — are all distinct steps that each need to be considered. The source distribution may also be a viable input for Pip, but that is not its only widespread use. It remains the correct input for “build from source”. > Which is why I don't consider slavish use of "git archive" (or similar > from some other VCS) to be valuable. +1. The VCS is for potential developers of the code bse. The source distribution is for people who want to build from source. Those are always distinct use cases. -- \ “Come on Milhouse, there’s no such thing as a soul! It’s just | `\ something they made up to scare kids, like the Boogie Man or | _o__) Michael Jackson.” —Bart, _The Simpsons_ | Ben Finney