Skip to content

Commit

Permalink
quick fix for autorelease bindings
Browse files Browse the repository at this point in the history
there is more pollution around `build_pdfium_bindings()`
  • Loading branch information
mara004 committed Oct 29, 2023
1 parent 7fb870d commit 99473a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setupsrc/pypdfium2_setup/autorelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from copy import deepcopy

sys.path.insert(0, str(Path(__file__).parents[1]))
from pypdfium2_setup import update_pdfium
# TODO consider dotted access?
from pypdfium2_setup.packaging_base import *

Expand All @@ -24,7 +23,8 @@ def run_local(*args, **kws):

def update_refbindings(version):
RefBindingsFile.unlink()
build_pdfium_bindings(version, headers_dir=AutoreleaseDir, guard_symbols=True)
build_pdfium_bindings(version, guard_symbols=True)
shutil.copyfile(DataDir_Bindings/BindingsFN, RefBindingsFile)
assert RefBindingsFile.exists()


Expand Down

0 comments on commit 99473a7

Please sign in to comment.