Skip to content

Commit

Permalink
clean(setup.py): remove BuildExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
afermg authored and gnodar01 committed Dec 13, 2024
1 parent 1dd33ef commit 75ddd05
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,6 @@
__cython = False


class BuildExtension(setuptools.command.build_ext.build_ext):
def build_extensions(self):
numpy_includes = pkg_resources.resource_filename("numpy", "core/include")

for extension in self.extensions:
if (
hasattr(extension, "include_dirs")
and numpy_includes not in extension.include_dirs
):
extension.include_dirs.append(numpy_includes)

extension.include_dirs.append("centrosome/include")

setuptools.command.build_ext.build_ext.build_extensions(self)


class Test(setuptools.command.test.test):
user_options = [("pytest-args=", "a", "Arguments to pass to py.test")]

Expand Down

0 comments on commit 75ddd05

Please sign in to comment.