
__author__  = "Matt Behrens <askedrelic@gmail.com>"
__version__ = "0.8.0"
__copyright__ = "Copyright (C) 2012  Matt Behrens"

from .googlereader import GoogleReader
from .auth import AuthenticationMethod, ClientAuthMethod, OAuthMethod, OAuth2Method
from .items import *
from .url import ReaderUrl


__author__  = "Matt Behrens <askedrelic@gmail.com>"
__version__ = "0.8.0"
__copyright__ = "Copyright (C) 2012  Matt Behrens"

try:
    import requests
except ImportError:
    # Will occur during setup.py install
    pass
else:
    from .googlereader import GoogleReader
    from .auth import AuthenticationMethod, ClientAuthMethod, OAuthMethod, OAuth2Method
    from .items import *
    from .url import ReaderUrl

Fix import error during setup.py install
Fix import error during setup.py install

  
  __author__  = "Matt Behrens <askedrelic@gmail.com>"
  __version__ = "0.8.0"
  __copyright__ = "Copyright (C) 2012  Matt Behrens"
  
+ try:
+     import requests
+ except ImportError:
+     # Will occur during setup.py install
+     pass
+ else:
- from .googlereader import GoogleReader
+     from .googlereader import GoogleReader
- from .auth import AuthenticationMethod, ClientAuthMethod, OAuthMethod, OAuth2Method
+     from .auth import AuthenticationMethod, ClientAuthMethod, OAuthMethod, OAuth2Method
- from .items import *
+     from .items import *
- from .url import ReaderUrl
+     from .url import ReaderUrl
  
Fix import error during setup.py install
## Code Before:

__author__  = "Matt Behrens <askedrelic@gmail.com>"
__version__ = "0.8.0"
__copyright__ = "Copyright (C) 2012  Matt Behrens"

from .googlereader import GoogleReader
from .auth import AuthenticationMethod, ClientAuthMethod, OAuthMethod, OAuth2Method
from .items import *
from .url import ReaderUrl

## Instruction:
Fix import error during setup.py install
## Code After:

__author__  = "Matt Behrens <askedrelic@gmail.com>"
__version__ = "0.8.0"
__copyright__ = "Copyright (C) 2012  Matt Behrens"

try:
    import requests
except ImportError:
    # Will occur during setup.py install
    pass
else:
    from .googlereader import GoogleReader
    from .auth import AuthenticationMethod, ClientAuthMethod, OAuthMethod, OAuth2Method
    from .items import *
    from .url import ReaderUrl
