Skip to content

Commit

Permalink
Merge pull request mdtraj#942 from rmcgibbo/develop
Browse files Browse the repository at this point in the history
Fix setup.py develop with latest version of setuptools
  • Loading branch information
rmcgibbo committed Oct 12, 2015
2 parents af6628b + 42cc507 commit 9e77b1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions basesetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,12 @@ def build_extension(self, ext):
else:
_build_ext.build_extension(self, ext)

def copy_extensions_to_source(self):
_extensions = self.extensions
self.extensions = [e for e in _extensions if not isinstance(e, StaticLibrary)]
super(build_ext, self).copy_extensions_to_source()
self.extensions = _extensions

def build_static_extension(self, ext):
from distutils import log

Expand Down

0 comments on commit 9e77b1f

Please sign in to comment.