Skip to content

Commit 6e5e652

Browse files
committed
changes for linux wheels with cibuildwheel
1 parent 5a65d2b commit 6e5e652

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ def get_gsl_config_win():
117117

118118
# define extension here
119119
def create_extensions():
120+
if sys.platform.startswith('linux'):
121+
return [Extension("diffpy.pdffit2.pdffit2", glob.glob("src/extensions/**/*.cc"))]
120122
ext = Extension("diffpy.pdffit2.pdffit2", glob.glob("src/extensions/**/*.cc"), **ext_kws)
121123
return [ext]
122124

0 commit comments

Comments
 (0)