Rev 2657: Depend on the 'zlib' library so it builds properly. in http://bzr.arbash-meinel.com/branches/bzr/0.19-dev/pyrex_knit_extract
John Arbash Meinel
john at arbash-meinel.com
Tue Jul 24 23:23:24 BST 2007
At http://bzr.arbash-meinel.com/branches/bzr/0.19-dev/pyrex_knit_extract
------------------------------------------------------------
revno: 2657
revision-id: john at arbash-meinel.com-20070724222313-ufc9xo0b4ivglx61
parent: john at arbash-meinel.com-20070724220437-2lanpv4u6s5n7m50
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: pyrex_knit_extract
timestamp: Tue 2007-07-24 17:23:13 -0500
message:
Depend on the 'zlib' library so it builds properly.
The 'simple' changes seem to improve things by about 5% (down to 4.23s)
modified:
setup.py setup.py-20050314065409-02f8a0a6e3f9bc70
-------------- next part --------------
=== modified file 'setup.py'
--- a/setup.py 2007-07-24 15:33:58 +0000
+++ b/setup.py 2007-07-24 22:23:13 +0000
@@ -187,16 +187,16 @@
pyrex_name = path + '.pyx'
c_name = path + '.c'
if have_pyrex:
- ext_modules.append(Extension(module_name, [pyrex_name]))
+ ext_modules.append(Extension(module_name, [pyrex_name], **kwargs))
else:
if not os.path.isfile(c_name):
unavailable_files.append(c_name)
else:
- ext_modules.append(Extension(module_name, [c_name]))
+ ext_modules.append(Extension(module_name, [c_name], **kwargs))
add_pyrex_extension('bzrlib._dirstate_helpers_c')
-add_pyrex_extension('bzrlib._knit_helpers_c')
+add_pyrex_extension('bzrlib._knit_helpers_c', libraries=['z'])
if unavailable_files:
More information about the bazaar-commits
mailing list