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