Skip to content

Commit 2f7ef3d

Browse files
scripts/gh_release.py: fixed to match lower-case sdist and wheel names.
1 parent a0e8984 commit 2f7ef3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/gh_release.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -245,14 +245,14 @@ def get_bool(name, default=0):
245245
os.chdir( pymupdf_dir)
246246
# Create PyMuPDF sdist.
247247
run(f'{sys.executable} setup.py sdist')
248-
assert glob.glob('dist/PyMuPDF-*.tar.gz')
248+
assert glob.glob('dist/pymupdf-*.tar.gz')
249249
if inputs_flavours:
250250
# Create PyMuPDFb sdist.
251251
run(
252252
f'{sys.executable} setup.py sdist',
253253
env_extra=dict(PYMUPDF_SETUP_FLAVOUR='b'),
254254
)
255-
assert glob.glob('dist/PyMuPDFb-*.tar.gz')
255+
assert glob.glob('dist/pymupdfb-*.tar.gz')
256256

257257
# Build wheels.
258258
#
@@ -475,7 +475,7 @@ def set_cibuild_test():
475475
# careful to avoid incompatible wheels, e.g. 32 vs 64-bit wheels
476476
# coexist during Windows builds.
477477
#
478-
env_set('CIBW_BEFORE_TEST', f'python scripts/gh_release.py pip_install wheelhouse/PyMuPDFb')
478+
env_set('CIBW_BEFORE_TEST', f'python scripts/gh_release.py pip_install wheelhouse/pymupdfb')
479479

480480
set_cibuild_test()
481481

0 commit comments

Comments
 (0)