From 6551ac8b89f3c23f11c014e0777665fb1d50325c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 29 Dec 2008 13:17:45 -0800 Subject: [PATCH] Fix #1484 (src/calibre/plugins/lzx.so is no longer being built) --- setup.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index a0bfbcaa0e..5111d16c45 100644 --- a/setup.py +++ b/setup.py @@ -380,13 +380,16 @@ if __name__ == '__main__': class build(_build): - sub_commands = \ - [ + sub_commands = [ ('resources', lambda self : 'CALIBRE_BUILDBOT' not in os.environ.keys()), ('translations', lambda self : 'CALIBRE_BUILDBOT' not in os.environ.keys()), ('gui', lambda self : 'CALIBRE_BUILDBOT' not in os.environ.keys()), - ] + _build.sub_commands - + ('build_ext', lambda self: True), + ('build_py', lambda self: True), + ('build_clib', _build.has_c_libraries), + ('build_scripts', _build.has_scripts), + ] + entry_points['console_scripts'].append('calibre_postinstall = calibre.linux:post_install') ext_modules = [ Extension('calibre.plugins.lzx',