Skip to content

Commit

Permalink
changes for linux wheels with cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieqiong committed Oct 4, 2024
1 parent 5a65d2b commit 6e5e652
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ def get_gsl_config_win():

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

Expand Down

0 comments on commit 6e5e652

Please sign in to comment.