added a nice error if c_overviewer is missing, simplified composite.py
now that c_overviewer is required, we don't need to have a PIL paste() fallback. The next step is to remove composite.py entirely!
This commit is contained in:
12
gmap.py
12
gmap.py
@@ -27,11 +27,19 @@ import re
|
||||
import multiprocessing
|
||||
import time
|
||||
import logging
|
||||
import optimizeimages
|
||||
import composite
|
||||
|
||||
logging.basicConfig(level=logging.INFO,format="%(asctime)s [%(levelname)s] %(message)s")
|
||||
|
||||
# make sure the c_overviewer extension is available
|
||||
try:
|
||||
import c_overviewer
|
||||
except ImportError:
|
||||
print "You need to compile the c_overviewer module to run Minecraft Overviewer."
|
||||
print "Run `python setup.py build`, or see the README for details."
|
||||
sys.exit(1)
|
||||
|
||||
import optimizeimages
|
||||
import composite
|
||||
import world
|
||||
import quadtree
|
||||
|
||||
|
||||
Reference in New Issue
Block a user