Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2019 11:58:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 242463] devel/mercurial: Update to 5.2.1
Message-ID:  <bug-242463-21822-msnwXX3ayC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242463-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242463-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242463

--- Comment #6 from Kubilay Kocak <koobs@FreeBSD.org> ---
(In reply to Peter Wullinger from comment #5)

Yeh, I believe I was looking at this a number of weeks back.

module policy is treated specially, in setup.py [1]:

class hgbuildpy(build_py):
...
    def run(self):
...
        write_if_changed(os.path.join(basepath, '__modulepolicy__.py'),
content)


[1] https://www.mercurial-scm.org/repo/hg-committed/file/tip/setup.py#l644

Technically, its a packaging bug, as all created files (especially manual o=
nes)
need to be added to the list of output files, so they are included in setup=
.py
install --record output, which autoplist uses

This is a common issue with packages that do/execute custom things, see

https://github.com/skorokithakis/tbvaccine/blob/master/setup.py#L14

https://stackoverflow.com/questions/25686900/pip-install-misses-some-genera=
ted-files-when-writing-installed-files-txt

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242463-21822-msnwXX3ayC>