Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
import tempfile

def module_path(tests_dir):
# Older setuptools name the build directory with a dotted version
# ("lib.linux-x86_64-3.8"), newer ones without ("...-cpython-312"), hence
# the wildcard. sys.abiflags (e.g. "t" for free-threaded builds) is not
# available on Windows for all Python versions.
py_ver = '*'.join([str(x) for x in sys.version_info[0:2]])
py_ver += getattr(sys, 'abiflags', '')

builddir = os.path.join(tests_dir, '..', 'src', 'pymod', 'build')
print('Build dir: %s', builddir)
Expand Down
Loading