# HG changeset patch # User Adrian Buehlmann # Date 1431594276 -7200 # Node ID 0021ad4c2309e1451f327ec544c525cb1e419584 # Parent c1a9e31bec0f943eb547c7fcc13d4902218c4758 setup: integrate osutil C extension into extmodules initialization diff -r c1a9e31bec0f -r 0021ad4c2309 setup.py --- a/setup.py Thu May 14 11:04:35 2015 +0200 +++ b/setup.py Thu May 14 11:04:36 2015 +0200 @@ -503,12 +503,11 @@ 'mercurial/parsers.c', 'mercurial/pathencode.c'], depends=common_depends), + Extension('mercurial.osutil', ['mercurial/osutil.c'], + extra_link_args=osutil_ldflags, + depends=common_depends), ] -extmodules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'], - extra_link_args=osutil_ldflags, - depends=common_depends)) - try: from distutils import cygwinccompiler