Skip to content

Commit 2ad87d1

Browse files
committed
Partially revert "Fix running of setup.py test with recent setuptools. (#84)"
This partially reverts commit be920ea. Fixes #320
1 parent 74d381e commit 2ad87d1

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

setup.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -117,25 +117,13 @@ class uvloop_build_ext(build_ext):
117117
]
118118

119119
def initialize_options(self):
120-
# initialize_options() may be called multiple times on the
121-
# same command object, so make sure not to override previously
122-
# set options.
123-
if getattr(self, '_initialized', False):
124-
return
125-
126120
super().initialize_options()
127121
self.use_system_libuv = False
128122
self.cython_always = False
129123
self.cython_annotate = None
130124
self.cython_directives = None
131125

132126
def finalize_options(self):
133-
# finalize_options() may be called multiple times on the
134-
# same command object, so make sure not to override previously
135-
# set options.
136-
if getattr(self, '_initialized', False):
137-
return
138-
139127
need_cythonize = self.cython_always
140128
cfiles = {}
141129

@@ -195,8 +183,6 @@ def finalize_options(self):
195183

196184
super().finalize_options()
197185

198-
self._initialized = True
199-
200186
def build_libuv(self):
201187
env = _libuv_build_env()
202188

0 commit comments

Comments
 (0)