We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ee8ae1 commit 707e0beCopy full SHA for 707e0be
MANIFEST.in
@@ -1 +1,3 @@
1
recursive-include libjpeg/src *
2
+exclude libjpeg/src/config.log
3
+exclude libjpeg/src/config.status
setup.py
@@ -120,9 +120,11 @@ def get_source_files():
120
)
121
extra_compile_args = get_mscv_args()
122
elif platform.system() in ['Darwin', 'Linux']:
123
- opts = get_gcc_args()
124
- extra_compile_args += opts['ADDOPTS']
125
- extra_link_args += opts['EXTRA_LIBS']
+ # Skip configuration if running with `sdist`
+ if 'sdist' not in sys.argv:
+ opts = get_gcc_args()
126
+ extra_compile_args += opts['ADDOPTS']
127
+ extra_link_args += opts['EXTRA_LIBS']
128
129
130
extensions = [
0 commit comments