mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:Fix building in windows in a Visual Studio Command prompt
This commit is contained in:
parent
25a176ec0e
commit
b2e00637a2
6
setup.py
6
setup.py
@ -425,7 +425,11 @@ if __name__ == '__main__':
|
|||||||
extra_link_args=['-framework', 'IOKit'])
|
extra_link_args=['-framework', 'IOKit'])
|
||||||
)
|
)
|
||||||
|
|
||||||
plugins = ['plugins/%s.so'%(x.name.rpartition('.')[-1]) for x in ext_modules]
|
if not iswindows:
|
||||||
|
plugins = ['plugins/%s.so'%(x.name.rpartition('.')[-1]) for x in ext_modules]
|
||||||
|
else:
|
||||||
|
plugins = ['plugins/%s.pyd'%(x.name.rpartition('.')[-1]) for x in ext_modules] + \
|
||||||
|
['plugins/%s.pyd.manifest'%(x.name.rpartition('.')[-1]) for x in ext_modules if 'pictureflow' not in x.name]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = APPNAME,
|
name = APPNAME,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user