File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 29
29
import os .path
30
30
import copy
31
31
from fnmatch import fnmatch
32
- import docutils
33
- from docutils import ApplicationError
34
- from docutils import core , frontend , utils
35
- from docutils .utils .error_reporting import ErrorOutput , ErrorString
36
- from docutils .parsers import rst
37
- from docutils .readers import standalone , pep
38
- from docutils .writers import html4css1 , pep_html
32
+ try :
33
+ import docutils
34
+ from docutils import ApplicationError
35
+ from docutils import core , frontend , utils
36
+ from docutils .error_reporting import ErrorOutput , ErrorString
37
+ from docutils .parsers import rst
38
+ from docutils .readers import standalone , pep
39
+ from docutils .writers import html4css1 , pep_html
40
+ except ImportError :
41
+ raise ImportError ('Importing `docutils` failed. Install it with `pip install docutils`.' )
39
42
40
43
41
44
usage = '%prog [options] [<directory> ...]'
Original file line number Diff line number Diff line change 37
37
'decorator >= 3.3.2' ,
38
38
'selenium >= 2.32.0' ,
39
39
'robotframework >= 2.6.0' ,
40
- 'docutils >= 0.8.1' ,
41
40
'future >= 0.15.2'
42
41
],
43
42
py_modules = ['ez_setup' ],
49
48
'decorator' ,
50
49
'selenium' ,
51
50
'robotframework' ,
52
- 'docutils' ,
53
51
'future'
54
52
]
55
53
)
You can’t perform that action at this time.
0 commit comments