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


Groups > linux.debian.maint.python > #8128

Re: Amend Debian Python Proposal to Include More Python Metadata?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Scott Kitterman <debian@kitterman.com>
Newsgroups linux.debian.maint.python
Subject Re: Amend Debian Python Proposal to Include More Python Metadata?
Date Fri, 22 Jan 2016 20:00:02 +0100
Message-ID <qTP6a-81w-15@gated-at.bofh.it> (permalink)
References <qTopk-6qy-11@gated-at.bofh.it> <qTOWu-7Yf-15@gated-at.bofh.it> <qTOWu-7Yf-13@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Jan 22 18:58:46 2016
Old-Return-Path <debian@kitterman.com>
X-Amavis-Spam-Status No, score=-7.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -5
Dkim-Signature v=1; a=rsa-sha256; c=simple/simple; d=kitterman.com; s=201409; t=1453489110; bh=DnBqdkXmHXdTstsAP3XuJxM8IqacM8PZQIFH7lcqSic=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WmLRynSjeolgNLT5WIeGqNdvRK4R10TVh8o6Du58lr+mXc35pf1YrWxjBiOsOWMZ1 ICesjPo05Svc90SE5eGLh+Jgep/n5jVtReWkVJWadmUK1Q0OuwZI6qk6FUgLE9BSWK I3gbIaBJ0yahhXPwUSiXwv5xb/5Ituoc0s/EKjo8=
User-Agent KMail/4.13.3 (Linux/3.13.0-71-generic; KDE/4.13.3; x86_64; ; )
MIME-Version 1.0
Content-Transfer-Encoding 7Bit
Content-Type text/plain; charset="us-ascii"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13451
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/7307234.P08sIH7HQY@kitterma-e6430
Approved robomod@news.nic.it
Lines 36
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 22 Jan 2016 13:58:30 -0500
X-Original-Message-ID <7307234.P08sIH7HQY@kitterma-e6430>
X-Original-References <AF6B8D2B-28CC-419A-96DF-180E235DAE60@stufft.io> <2067882.9JkdsQ7VrC@kitterma-e6430> <CAFT4OTEVt_BdR1sgm_1T0ieAHqZEt5N=cZQCm946xmocjQUgKw@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:8128

Show key headers only | View raw


On Friday, January 22, 2016 01:47:28 PM Fred Drake wrote:
> On Fri, Jan 22, 2016 at 1:41 PM, Scott Kitterman <debian@kitterman.com> 
wrote:
> > For Debian it's bad because we don't ship the .pyc files in the package
> > they are managed locally by the installed python system.  They are also
> > unnecessary because setuptools/pip/python is smart enough to relate .pyc
> > files to their .py files without them being listed.
> 
> The .pyc files aren't shipped in the .deb, or they aren't installed
> when the .deb is installed?

They aren't shipped in the .deb, so the list of files shipped in the .deb 
shouldn't include them.

> If they're installed, I think they should be listed.  If not installed
> when the package is installed, then they definitely shouldn't be
> listed.

No  I don't think they should be.  There's no need for that and it may change.  
Then you have a maintenance nightmare.  Currently we have both python3.4 and 
python3.5 as supported versions so as part of installation *.cpython-34.pyc 
and *.cpython-35.pyc are generated on the local file system.  As the python3 
versions change, those will change and Python knows how to deal with that as 
long as the .py files are present.

Scott K

> > Part of the goal here is to make sure that regardless of the installation
> > method, there's a list of files that were installed.  Since Debian
> > packages
> > don't install the .pyc files, listing them is wrong.
> 
> I agree that listing them if they aren't installed is wrong.
> 
> 
>   -Fred

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Amend Debian Python Proposal to Include More Python Metadata? Donald Stufft <donald@stufft.io> - 2016-01-21 15:30 +0100
  Re: Amend Debian Python Proposal to Include More Python Metadata? Paul Tagliamonte <paultag@debian.org> - 2016-01-21 15:50 +0100
    Re: Amend Debian Python Proposal to Include More Python Metadata? Donald Stufft <donald@stufft.io> - 2016-01-21 16:10 +0100
      Re: Amend Debian Python Proposal to Include More Python Metadata? Scott Kitterman <debian@kitterman.com> - 2016-01-21 17:00 +0100
  Re: Amend Debian Python Proposal to Include More Python Metadata? Piotr Ożarowski <piotr@debian.org> - 2016-01-22 16:40 +0100
    Re: Amend Debian Python Proposal to Include More Python Metadata? Donald Stufft <donald@stufft.io> - 2016-01-22 17:00 +0100
      Re: Amend Debian Python Proposal to Include More Python Metadata? Piotr Ożarowski <piotr@debian.org> - 2016-01-22 17:20 +0100
        Re: Amend Debian Python Proposal to Include More Python Metadata? Paul Tagliamonte <paultag@debian.org> - 2016-01-22 17:50 +0100
          Re: Amend Debian Python Proposal to Include More Python Metadata? Piotr Ożarowski <piotr@debian.org> - 2016-01-22 18:20 +0100
        Re: Amend Debian Python Proposal to Include More Python Metadata? Donald Stufft <donald@stufft.io> - 2016-01-22 18:00 +0100
        Re: Amend Debian Python Proposal to Include More Python Metadata? Piotr Ożarowski <piotr@debian.org> - 2016-01-22 18:40 +0100
      Re: Amend Debian Python Proposal to Include More Python Metadata? Scott Kitterman <debian@kitterman.com> - 2016-01-22 18:00 +0100
        Re: Amend Debian Python Proposal to Include More Python Metadata? Donald Stufft <donald@stufft.io> - 2016-01-22 18:20 +0100
          Re: Amend Debian Python Proposal to Include More Python Metadata? Scott Kitterman <debian@kitterman.com> - 2016-01-22 18:50 +0100
            Re: Amend Debian Python Proposal to Include More Python Metadata? Fred Drake <fred@fdrake.net> - 2016-01-22 19:40 +0100
              Re: Amend Debian Python Proposal to Include More Python Metadata? Fred Drake <fred@fdrake.net> - 2016-01-22 19:50 +0100
                Re: Amend Debian Python Proposal to Include More Python Metadata? Scott Kitterman <debian@kitterman.com> - 2016-01-22 20:00 +0100
              Re: Amend Debian Python Proposal to Include More Python Metadata? Scott Kitterman <debian@kitterman.com> - 2016-01-22 19:50 +0100
      Re: Amend Debian Python Proposal to Include More Python Metadata? Scott Kitterman <debian@kitterman.com> - 2016-01-23 09:20 +0100
        Re: Amend Debian Python Proposal to Include More Python Metadata? Scott Kitterman <debian@kitterman.com> - 2016-01-23 09:30 +0100
  Re: Amend Debian Python Proposal to Include More Python Metadata? Barry Warsaw <barry@debian.org> - 2016-01-22 23:40 +0100
    Re: Amend Debian Python Proposal to Include More Python Metadata? Donald Stufft <donald@stufft.io> - 2016-01-23 00:00 +0100
      Re: Amend Debian Python Proposal to Include More Python Metadata? Barry Warsaw <barry@debian.org> - 2016-01-23 00:10 +0100
        Re: Amend Debian Python Proposal to Include More Python Metadata? Donald Stufft <donald@stufft.io> - 2016-01-23 00:20 +0100
      Re: Amend Debian Python Proposal to Include More Python Metadata? Scott Kitterman <debian@kitterman.com> - 2016-01-23 00:10 +0100
        Re: Amend Debian Python Proposal to Include More Python Metadata? Donald Stufft <donald@stufft.io> - 2016-01-23 00:30 +0100
          Re: Amend Debian Python Proposal to Include More Python Metadata? Scott Kitterman <debian@kitterman.com> - 2016-01-23 01:20 +0100
            Re: Amend Debian Python Proposal to Include More Python Metadata? Donald Stufft <donald@stufft.io> - 2016-01-23 02:00 +0100
          pip as distutils/setuptools/setup.py wrapper Piotr Ożarowski <piotr@debian.org> - 2016-01-26 19:30 +0100

csiph-web