Mercurial > hg
diff contrib/packaging/inno/build.py @ 41907:9da97f49d4f4
packaging: establish hgpackaging package
Previously, contrib/packaging behaved as a root to a
package directory and we had a "packagingutil" module. As I
work more on packaging code, we'll want to have more code
shared between different packaging tools. I think it makes
sense to have a single package containing multiple modules
than multiple top-level modules.
This commit establishes an "hgpackaging" package by moving
the existing packagingutil code to it.
Differential Revision: https://phab.mercurial-scm.org/D6083
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 07 Mar 2019 10:10:04 -0800 |
parents | 7a1433e90482 |
children | c2237fe1359e |
line wrap: on
line diff
--- a/contrib/packaging/inno/build.py Sat Mar 09 02:07:09 2019 +0000 +++ b/contrib/packaging/inno/build.py Thu Mar 07 10:10:04 2019 -0800 @@ -87,7 +87,7 @@ for finding the Python 2.7 toolchain. So, we require the environment to already be configured with an active toolchain. """ - from packagingutil import ( + from hgpackaging.util import ( download_entry, extract_tar_to_directory, extract_zip_to_directory,