Clean up setup.py

This commit is contained in:
Helder Eijs 2018-11-26 15:24:34 +01:00
parent bea9704bb4
commit 3a28e4635b

View file

@ -111,12 +111,6 @@ class PCTBuildExt (build_ext):
# Avoid linking Python's dynamic library
def get_libraries(self, ext):
return []
def remove_extension(self, name):
"""Remove the specified extension from the list of extensions
to build"""
self.extensions = [x for x in self.extensions if x.name != name]
class PCTBuildPy(build_py):