pretty warning when missing distutils

This commit is contained in:
Nick Sweeting 2019-03-12 12:50:58 -04:00
parent c184f4f752
commit 5e583573d5

View file

@ -3,7 +3,11 @@ import json
from datetime import datetime
from string import Template
from distutils.dir_util import copy_tree
try:
from distutils.dir_util import copy_tree
except ImportError:
print('[X] Missing "distutils" python package. To install it, run:')
print(' pip install distutils')
from config import (
OUTPUT_DIR,