Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Fixes issues ThomasLecocq#6 and ThomasLecocq#8. Followed the solution in the obspy issue mentioned in ThomasLecocq#6.
  • Loading branch information
dylanmikesell committed Jun 24, 2020
1 parent 853ddc3 commit 9955ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def export_symbols(*path):
EXTERNAL_LIBS = False
# adds --with-system-libs command-line option if possible
def add_features():
if 'setuptools' not in sys.modules:
if 'setuptools' not in sys.modules or not hasattr(setuptools, 'Feature'):
return {}

class ExternalLibFeature(setuptools.Feature):
Expand Down

0 comments on commit 9955ae8

Please sign in to comment.