Mercurial > hg
comparison contrib/packaging/inno/build.py @ 41908:c2237fe1359e
packaging: split downloading code into own module
As we will introduce more code to support packaging, it will be
useful to have download code in its own module.
Differential Revision: https://phab.mercurial-scm.org/D6084
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 07 Mar 2019 15:42:32 -0800 |
parents | 9da97f49d4f4 |
children | 1e8fb6522fee |
comparison
equal
deleted
inserted
replaced
41907:9da97f49d4f4 | 41908:c2237fe1359e |
---|---|
85 | 85 |
86 py2exe's setup.py doesn't use setuptools. It doesn't have modern logic | 86 py2exe's setup.py doesn't use setuptools. It doesn't have modern logic |
87 for finding the Python 2.7 toolchain. So, we require the environment | 87 for finding the Python 2.7 toolchain. So, we require the environment |
88 to already be configured with an active toolchain. | 88 to already be configured with an active toolchain. |
89 """ | 89 """ |
90 from hgpackaging.downloads import ( | |
91 download_entry, | |
92 ) | |
90 from hgpackaging.util import ( | 93 from hgpackaging.util import ( |
91 download_entry, | |
92 extract_tar_to_directory, | 94 extract_tar_to_directory, |
93 extract_zip_to_directory, | 95 extract_zip_to_directory, |
94 ) | 96 ) |
95 | 97 |
96 if not iscc.exists(): | 98 if not iscc.exists(): |