Skip to content

Commit

Permalink
try building without removing temporary libpcre2 tree
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskermode committed Apr 1, 2023
1 parent cf5f315 commit 64397af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def build_pcre2():
print(f'pcre2-config not found so downloading and installing PCRE2-{pcre2_version} from {download_url}')

tempdir = tempfile.mkdtemp()
atexit.register(lambda: shutil.rmtree(tempdir)) # cleanup tempdir when Python exits
# atexit.register(lambda: shutil.rmtree(tempdir)) # cleanup tempdir when Python exits
build_dir = os.path.abspath(f"{tempdir}/pcre2-{pcre2_version}/build")
pcre2_config = os.path.join(build_dir, 'bin', 'pcre2-config')

Expand Down

0 comments on commit 64397af

Please sign in to comment.