Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OBITools
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools
Commits
c198e7d8
Commit
c198e7d8
authored
Apr 01, 2019
by
Eric Coissac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch obitools for not importing too recent packages
parent
a2db4ce5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
19 deletions
+21
-19
build_sphinx.py
distutils.ext/obidistutils/command/build_sphinx.py
+20
-18
requirements.txt
requirements.txt
+1
-1
No files found.
distutils.ext/obidistutils/command/build_sphinx.py
View file @
c198e7d8
...
...
@@ -13,26 +13,29 @@ import sys
try
:
from
sphinx.setup_command
import
BuildDoc
as
ori_build_sphinx
class
build_sphinx
(
ori_build_sphinx
):
'''
Build Sphinx documentation in html, epub and man formats
'''
description
=
__doc__
def
run
(
self
):
self
.
builder
=
'html'
self
.
finalize_options
()
ori_build_sphinx
.
run
(
self
)
self
.
builder
=
'epub'
self
.
finalize_options
()
ori_build_sphinx
.
run
(
self
)
self
.
builder
=
'man'
self
.
finalize_options
()
ori_build_sphinx
.
run
(
self
)
except
ImportError
:
if
not
is_serenity
()
and
install_requirements
():
log
.
info
(
"Restarting installation with all dependencies ok"
)
rerun_with_anothe_python
(
os
.
path
.
realpath
(
sys
.
executable
))
class
build_sphinx
(
ori_build_sphinx
):
'''
Build Sphinx documentation in html, epub and man formats
'''
description
=
__doc__
def
run
(
self
):
self
.
builder
=
'html'
self
.
finalize_options
()
ori_build_sphinx
.
run
(
self
)
self
.
builder
=
'epub'
self
.
finalize_options
()
ori_build_sphinx
.
run
(
self
)
self
.
builder
=
'man'
self
.
finalize_options
()
ori_build_sphinx
.
run
(
self
)
\ No newline at end of file
requirements.txt
View file @
c198e7d8
--extra-index-url https://pypi.python.org/simple/
Cython
>=0.24
Sphinx
>=1.
2.0
Sphinx
<
2.0
wheel
>=0.24.0
virtualenv
>=1.11.0
ipython
<6.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment