Merge pull request #600 from wiredfool/readthedocs

Readthedocs
This commit is contained in:
Alex Clark ☺ 2014-04-04 04:51:41 -04:00
commit 52189030b8
4 changed files with 455 additions and 431 deletions

File diff suppressed because it is too large Load Diff

View File

@ -14,3 +14,9 @@ else:
# Checks if an object is a string, and that it points to a directory.
def isDirectory(f):
return isPath(f) and os.path.isdir(f)
class import_err(object):
def __init__(self, ex):
self.ex = ex
def __getattr__(self, elt):
raise self.ex

View File

@ -3,6 +3,7 @@ from tester import *
from PIL import Image
try:
from PIL import ImageCms
ImageCms.core.profile_open
except ImportError:
skip()

View File

@ -1,7 +1,7 @@
# requirements for working on docs
# install pillow from master if you're into that, but RtD needs this
pillow>=2.2.1
pillow>=2.4.0
Jinja2==2.7.1
MarkupSafe==0.18