Partially revert "Fix running of setup.py test with recent setuptools. (#84)"

This partially reverts commit be920ea74e.

Fixes #320
This commit is contained in:
Fantix King 2022-09-09 11:48:26 -04:00
parent 74d381e87a
commit 2f1bc83c63
1 changed files with 0 additions and 14 deletions

View File

@ -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 @@ class uvloop_build_ext(build_ext):
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 @@ class uvloop_build_ext(build_ext):
super().finalize_options()
self._initialized = True
def build_libuv(self):
env = _libuv_build_env()