@@ -330,6 +330,7 @@ def get_package_versions(
330330 except RemoteNotFetchedException as e :
331331 print (f"Failed to fetch PyPI package { name } @ { version } info from { index_url } : { e } " )
332332
333+
333334################################################################################
334335#
335336# Core models
@@ -1617,6 +1618,7 @@ def tags(self):
16171618 )
16181619 )
16191620
1621+
16201622################################################################################
16211623#
16221624# PyPI repo and link index for package wheels and sources
@@ -1801,6 +1803,7 @@ def from_url(cls, url=ABOUT_BASE_URL, _LINKS_REPO={}):
18011803 _LINKS_REPO [url ] = cls (url = url )
18021804 return _LINKS_REPO [url ]
18031805
1806+
18041807################################################################################
18051808# Globals for remote repos to be lazily created and cached on first use for the
18061809# life of the session together with some convenience functions.
@@ -1834,6 +1837,7 @@ def get_pypi_package(name, version, index_url, verbose=TRACE_DEEP):
18341837 except RemoteNotFetchedException as e :
18351838 print (f"Failed to fetch PyPI package { name } @ { version } info from { index_url } : { e } " )
18361839
1840+
18371841################################################################################
18381842#
18391843# Basic file and URL-based operations using a persistent file-based Cache
@@ -1994,6 +1998,7 @@ def fetch_and_save_path_or_url(
19941998 fo .write (content )
19951999 return content
19962000
2001+
19972002################################################################################
19982003# Requirements processing
19992004################################################################################
@@ -2031,6 +2036,7 @@ def get_required_packages(
20312036 print (" get_required_packages: name:" , name , "version:" , version )
20322037 yield repo .get_package (name , version )
20332038
2039+
20342040################################################################################
20352041# Functions to update or fetch ABOUT and license files
20362042################################################################################
@@ -2181,6 +2187,7 @@ def get_other_dists(_package, _dist):
21812187 lic_errs = "\n " .join (lic_errs )
21822188 print (f"Failed to fetch some licenses:: { lic_errs } " )
21832189
2190+
21842191################################################################################
21852192#
21862193# Functions to build new Python wheels including native on multiple OSes
@@ -2311,9 +2318,9 @@ def build_wheels_locally_if_pure_python(
23112318 "--wheel-dir" ,
23122319 wheel_dir ,
23132320 ]
2314- + deps
2315- + verbose
2316- + [requirements_specifier ]
2321+ + deps
2322+ + verbose
2323+ + [requirements_specifier ]
23172324 )
23182325
23192326 print (f"Building local wheels for: { requirements_specifier } " )
0 commit comments