version 0.4.80

This commit is contained in:
Kovid Goyal 2008-07-25 00:01:31 -07:00
parent 50add0c72d
commit 49f75513cf
3 changed files with 10 additions and 14 deletions

View File

@ -62,7 +62,7 @@ if __name__ == '__main__':
)
if isosx:
ext_modules.append(Extension('calibre.plugins.usbobserver',
sources=['src/calibre/driver/usbobserver/usbobserver.c'])
sources=['src/calibre/devices/usbobserver/usbobserver.c'])
)
def build_PyQt_extension(path):

View File

@ -1,7 +1,7 @@
''' E-book management software'''
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
__version__ = '0.4.79'
__version__ = '0.4.80'
__docformat__ = "epytext"
__author__ = "Kovid Goyal <kovid at kovidgoyal.net>"
__appname__ = 'calibre'
@ -61,7 +61,9 @@ if iswindows and getattr(sys, 'frozen', False):
plugins = {}
for plugin in ['pictureflow', 'lzx'] + (['winutil'] if iswindows else []):
for plugin in ['pictureflow', 'lzx'] + \
(['winutil'] if iswindows else []) + \
(['usbobserver'] if isosx else []):
try:
p, err = __import__(plugin), ''
except Exception, err:

View File

@ -12,12 +12,6 @@ from calibre.devices import libusb
osx_scanner = win_scanner = linux_scanner = None
try:
import usbobserver
osx_scanner = usbobserver.get_devices
except ImportError:
pass
if iswindows:
try:
win_scanner = plugins['winutil'][0].get_usb_devices