[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: direct-changes-in-diff-but-no-patch-system foo.egg-info/SOURCES.txt



Ben Finney wrote:

> Adam <Adam.Schmalhofer@gmx.de> writes:
> 
> >
> > I think "setup.py clean" (which gets called by dh_auto_clean) really
> > should just delete SOURCES.txt. I just filed a bug upstream against
> > python-distribute:
> >
> > http://bitbucket.org/tarek/distribute/issue/122/setuppy-clean-should-delete-sourcestxt
> 
> I disagree; the ‘SOURCES.txt’ file is distributed as source, so
> automatically deleting that file is too much magic. Rather, the build
> process should not modify the source files at all.

SOURCES.txt is rebuilt and not modified. From
/usr/share/doc/python-distribute/html/setuptools.html (which is in
python-distribute-doc):

| MANIFEST.in is still read and processed, as are the standard defaults
| and pruning. But the manifest is built inside the project’s .egg-info
| directory as SOURCES.txt, and it is rebuilt every time the egg_info
| command is run.

> But, before any changes happen to the upstream build tools, I was asking
> what we could do with Debian tools:

Well, we could write the patch ourselves ;-). 

--Adam

Attachment: signature.asc
Description: PGP signature


Reply to: