Commit 513640b6 authored by Denis Bilenko's avatar Denis Bilenko

setup.py: remove unused variables

parent 8f173ec4
...@@ -30,14 +30,11 @@ assert __version__ ...@@ -30,14 +30,11 @@ assert __version__
include_dirs = [] # specified by -I include_dirs = [] # specified by -I
library_dirs = [] # specified by -L library_dirs = [] # specified by -L
libevent_source_path = None # specified by --libevent libevent_source_path = None # specified by --libevent
VERBOSE = '-v' in sys.argv
extra_compile_args = [] extra_compile_args = []
sources = ['gevent/core.c'] sources = ['gevent/core.c']
libraries = [] libraries = []
extra_objects = []
cmdclass = {}
class my_build_ext(build_ext.build_ext): class my_build_ext(build_ext.build_ext):
def compile_cython(self): def compile_cython(self):
...@@ -91,8 +88,6 @@ class my_build_ext(build_ext.build_ext): ...@@ -91,8 +88,6 @@ class my_build_ext(build_ext.build_ext):
traceback.print_exc() traceback.print_exc()
return result return result
cmdclass = {'build_ext': my_build_ext}
def check_dir(path, must_exist): def check_dir(path, must_exist):
if not isdir(path): if not isdir(path):
...@@ -200,7 +195,6 @@ gevent_core = Extension(name='gevent.core', ...@@ -200,7 +195,6 @@ gevent_core = Extension(name='gevent.core',
include_dirs=include_dirs, include_dirs=include_dirs,
library_dirs=library_dirs, library_dirs=library_dirs,
libraries=libraries, libraries=libraries,
extra_objects=extra_objects,
extra_compile_args=extra_compile_args) extra_compile_args=extra_compile_args)
def read(name): def read(name):
...@@ -218,7 +212,7 @@ if __name__ == '__main__': ...@@ -218,7 +212,7 @@ if __name__ == '__main__':
url='http://www.gevent.org/', url='http://www.gevent.org/',
packages=['gevent'], packages=['gevent'],
ext_modules=[gevent_core], ext_modules=[gevent_core],
cmdclass=cmdclass, cmdclass={'build_ext': my_build_ext},
classifiers=[ classifiers=[
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Programming Language :: Python", "Programming Language :: Python",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment