diff --git a/setup.py b/setup.py index 486ea278..f48b2a89 100644 --- a/setup.py +++ b/setup.py @@ -117,12 +117,6 @@ class uvloop_build_ext(build_ext): ] def initialize_options(self): - # initialize_options() may be called multiple times on the - # same command object, so make sure not to override previously - # set options. - if getattr(self, '_initialized', False): - return - super().initialize_options() self.use_system_libuv = False self.cython_always = False @@ -130,12 +124,6 @@ def initialize_options(self): self.cython_directives = None def finalize_options(self): - # finalize_options() may be called multiple times on the - # same command object, so make sure not to override previously - # set options. - if getattr(self, '_initialized', False): - return - need_cythonize = self.cython_always cfiles = {} @@ -195,8 +183,6 @@ def finalize_options(self): super().finalize_options() - self._initialized = True - def build_libuv(self): env = _libuv_build_env()