Skip to content

Commit 0dd27fb

Browse files
committed
Exclude sources files, subdir README from wheel
1 parent 33859ea commit 0dd27fb

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

meson.build

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,22 @@ endif
6060
# --!>
6161

6262
# install python sources
63-
install_subdir('pyoptsparse', install_dir: py3.get_install_dir())
63+
install_subdir('pyoptsparse',
64+
exclude_directories: [
65+
'pyCONMIN/source',
66+
'pyCONMIN/README',
67+
'pyNLPQLP/source',
68+
'pyNLPQLP/README',
69+
'pyNSGA2/source',
70+
'pyNSGA2/README',
71+
'pyPSQP/source',
72+
'pyPSQP/README',
73+
'pySLSQP/source',
74+
'pySLSQP/README',
75+
'pySNOPT/source',
76+
'pySNOPT/README'
77+
],
78+
install_dir: py3.get_install_dir())
6479

6580
# install non-python sources
6681
subdir('pyoptsparse')

0 commit comments

Comments
 (0)