FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

BUG: exclude __pycache__ directories from wheels by praneethhere · Pull Request #31397 · numpy/numpy · GitHub

/ numpy Public
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .build  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
21 changes: 18 additions & 3 deletions numpy/meson.build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -363,13 +363,28 @@ else
endif

foreach subdir: pure_subdirs
install_subdir(subdir, install_dir: np_dir, install_tag: 'python-runtime', exclude_directories: ['tests'])
install_subdir(
subdir,
install_dir: np_dir,
install_tag: 'python-runtime',
exclude_directories: ['tests', '__pycache__']
)
if fs.is_dir(subdir/'tests')
install_subdir(subdir/'tests', install_dir: np_dir/subdir, install_tag: 'tests')
install_subdir(
subdir/'tests',
install_dir: np_dir/subdir,
install_tag: 'tests',
exclude_directories: ['__pycache__']
)
endif
endforeach

install_subdir('tests', install_dir: np_dir, install_tag: 'tests')
install_subdir(
'tests',
install_dir: np_dir,
install_tag: 'tests',
exclude_directories: ['__pycache__']
)

compilers = {
'C': cc,
Expand Down
Loading

Back | FazBrowse Home | New Git URL