1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-25 15:31:22 +02:00

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,