Skip to content

Commit

Permalink
and manual links
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-shibanov committed Jun 22, 2023
1 parent 5a451d6 commit d036ce7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 8 additions & 1 deletion builders/macos-python-builder.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@ class macOSPythonBuilder : NixPythonBuilder {

if ($this.Version -gt "3.7.12") {
$configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
}
}


# brew install ncurses readline
if ($this.Version -gt "3.7.17") {
$env:LDFLAGS += " -L$(brew --prefix bzip2)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix ncurses)/lib"
$env:CFLAGS += " -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(brew --prefix ncurses)/include"
}
}

### Compile with support of loadable sqlite extensions. Unavailable for Python 2.*
Expand Down
5 changes: 0 additions & 5 deletions tests/sources/python-modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,6 @@ def replace(lst, old, new):
'dataclasses',
])

if (sys.version_info.major, sys.version_info.minor, sys.version_info.micro) == (3, 7, 17):
standard_library.remove('bz2')
standard_library.remove('curses')
standard_library.remove('readline')

# 'macpath' module has been removed from Python 3.8
if sys.version_info > (3, 7):
standard_library.remove('macpath')
Expand Down

0 comments on commit d036ce7

Please sign in to comment.