Skip to content

Commit

Permalink
Add definition of site.PREFIXES
Browse files Browse the repository at this point in the history
Fixes #408
  • Loading branch information
ronaldoussoren committed Apr 3, 2022
1 parent 458b8fa commit 5477419
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/changelog.rst
Expand Up @@ -7,6 +7,8 @@ py2app 0.28
* Fix hard crash in "rtree" recipe when the package contents doesn't
match the recipe expectations.

* #408: Add definition of ``site.PREFIXES``

* #412: Fix incompatibility with setuptools 60.8.1

The setuptools recipe did not recoginize all vendored dependencies
Expand Down
3 changes: 3 additions & 0 deletions py2app/apptemplate/lib/site.py
Expand Up @@ -203,3 +203,6 @@ def getusersitepackages():
builtins.help = _sitebuiltins._Helper()
builtins.quit = _sitebuiltins.Quitter('quit', 'Ctrl-D (i.e. EOF)')
builtins.exit = _sitebuiltins.Quitter('exit', 'Ctrl-D (i.e. EOF)')

# Prefixes for site-packages; add additional prefixes like /usr/local here
PREFIXES = [sys.prefix, sys.exec_prefix]

0 comments on commit 5477419

Please sign in to comment.