Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 823cf3d7dd
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (27 sloc) 0.775 kB
"""
Scrapy - a screen scraping framework written in Python
"""
version_info = (0, 15, 1)
__version__ = "0.15.1"
import sys, os, warnings
if sys.version_info < (2,5):
print "Scrapy %s requires Python 2.5 or above" % __version__
sys.exit(1)
# ignore noisy twisted deprecation warnings
warnings.filterwarnings('ignore', category=DeprecationWarning, module='twisted')
# monkey patches to fix external library issues
from scrapy.xlib import twisted_250_monkeypatches, urlparse_monkeypatches
# optional_features is a set containing Scrapy optional features
optional_features = set()
try:
import OpenSSL
except ImportError:
pass
else:
optional_features.add('ssl')
try:
import boto
except ImportError:
pass
else:
optional_features.add('boto')
Jump to Line
Something went wrong with that request. Please try again.