提交 22d16800 编写于 作者: K Kentaro Wada

lxml for install_requires is optional

上级 32689a68
......@@ -7,9 +7,14 @@ import glob
import json
import os
import os.path as osp
import lxml.builder
import lxml.etree
import sys
try:
import lxml.builder
import lxml.etree
except ImportError:
print('Please install lxml:\n\n pip install lxml\n')
sys.exit(1)
import numpy as np
import PIL.Image
......
......@@ -31,7 +31,6 @@ del here
install_requires = [
'lxml',
'matplotlib',
'numpy',
'Pillow>=2.8.0',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册