Commit 8bab812c authored by Denis Bilenko's avatar Denis Bilenko

setup.py: remove unnecessary sorted() call

parent 8fd32a78
...@@ -38,7 +38,7 @@ cmdclass = {} ...@@ -38,7 +38,7 @@ 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):
sources = glob.glob('gevent/*.pyx') + sorted(glob.glob('gevent/*.pxi')) sources = glob.glob('gevent/*.pyx') + glob.glob('gevent/*.pxi')
if not sources: if not sources:
if not os.path.exists('gevent/core.c'): if not os.path.exists('gevent/core.c'):
print >> sys.stderr, 'Could not find gevent/core.c' print >> sys.stderr, 'Could not find gevent/core.c'
......
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