mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-22 10:55:18 -04:00
pretty warning when missing distutils
This commit is contained in:
parent
c184f4f752
commit
5e583573d5
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@ import json
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from string import Template
|
from string import Template
|
||||||
|
try:
|
||||||
from distutils.dir_util import copy_tree
|
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 (
|
from config import (
|
||||||
OUTPUT_DIR,
|
OUTPUT_DIR,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue