Skip to content

Commit

Permalink
Update cellar script
Browse files Browse the repository at this point in the history
  • Loading branch information
RensDofferhoff authored Jan 2, 2025
1 parent c41c4ce commit d7e4f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/createCellarFromRenvCache.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def build_cellar(renv_cache, inner_extension):
output_dir = Path('.') / 'cellar'
output_dir.mkdir(exist_ok=True)

pkgs = list(renv_cache.glob('*/*/*/*'))
pkgs = [x for x in list(renv_cache.glob('*/*/*/*')) if 'jasp' not in x.stem or 'jaspTools' in x.stem]
pkgsOutPaths = [output_dir / generatePkgArchiveName(x, inner_extension) for x in pkgs]
with concurrent.futures.ProcessPoolExecutor(max_workers=4) as executor:
executor.map(create_archive, zip(pkgs, pkgsOutPaths), chunksize=50)
Expand Down

0 comments on commit d7e4f1d

Please sign in to comment.