mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #1484 (src/calibre/plugins/lzx.so is no longer being built)
This commit is contained in:
parent
6d8a7ec255
commit
6551ac8b89
11
setup.py
11
setup.py
@ -380,13 +380,16 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
class build(_build):
|
class build(_build):
|
||||||
|
|
||||||
sub_commands = \
|
sub_commands = [
|
||||||
[
|
|
||||||
('resources', lambda self : 'CALIBRE_BUILDBOT' not in os.environ.keys()),
|
('resources', lambda self : 'CALIBRE_BUILDBOT' not in os.environ.keys()),
|
||||||
('translations', 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()),
|
('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')
|
entry_points['console_scripts'].append('calibre_postinstall = calibre.linux:post_install')
|
||||||
ext_modules = [
|
ext_modules = [
|
||||||
Extension('calibre.plugins.lzx',
|
Extension('calibre.plugins.lzx',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user