Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355645 - distutils.eclass unnecessarily installs file `MANIFEST.in' into doc directory
Summary: distutils.eclass unnecessarily installs file `MANIFEST.in' into doc directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-20 01:39 UTC by Dean Matzkov
Modified: 2011-04-12 23:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Matzkov 2011-02-20 01:39:09 UTC
It doesn't look like the file `MANIFEST.in' was supposed to be installed.

$ bzcat /usr/share/doc/pybugz-0.9.0_rc2/MANIFEST.in.bz2
   include LICENSE
   include contrib/*
Comment 1 William Hubbs gentoo-dev 2011-02-20 11:51:58 UTC
MANIFEST.in should not have been in the tarball to begin with. This has
been fixed upstream and will not be there for the next release.

Comment 2 William Hubbs gentoo-dev 2011-02-21 21:16:28 UTC
I am reopening this, because after looking into it further, I found out that distutils.eclass installs this file by default if it exists in a tarball.
Comment 3 William Hubbs gentoo-dev 2011-02-21 21:23:37 UTC
This bug was originally filed against www-client/pybugz-0.9.0-rc2 because it installed MANIFEST.in in its doc directory.

I initially removed that file from the generated tarball upstream. However, I have since discovered that this file is automatically installed by distutils.eclass, and I tend to agree with the original description of this bug.

This file is used in the generation of the tarball for a distutils package, but I can't think of a good reason to install it in the documentation for the package.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-25 22:15:13 UTC
I suggest to also disable installation of PKG-INFO.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-12 23:34:23 UTC
distutils_src_install() no longer installs MANIFEST* and PKG-INFO.