Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
817711e5
Commit
817711e5
authored
Dec 03, 2013
by
Stavros Sachtouris
Browse files
Fix docs so that they compile with astakosclient
parent
ed658c90
Changes
1
Show whitespace changes
Inline
Side-by-side
docs/conf.py
View file @
817711e5
...
@@ -67,7 +67,23 @@ except ImportError:
...
@@ -67,7 +67,23 @@ except ImportError:
from
objpool.http
import
PooledHTTPConnection
from
objpool.http
import
PooledHTTPConnection
PooledHTTPConnection
PooledHTTPConnection
except
ImportError
:
except
ImportError
:
stderr
.
write
(
"`objpool` package is required to build kamaki docs.
\n
"
)
stderr
.
write
(
'`objpool` package is required to build kamaki docs.
\n
'
)
exit
(
1
)
try
:
from
astakosclient
import
AstakosClient
AstakosClient
except
ImportError
:
path
.
insert
(
0
,
'%s/%s'
%
(
SITE_PACKAGES_PATH
,
'astakosclient-0.14.5next_10224_6c10f58-py2.7.egg'
))
try
:
from
astakosclient
import
AstakosClient
AstakosClient
except
ImportError
:
stderr
.
write
(
'`astakosclient` package is required to build kamaki docs.
\n
'
)
exit
(
1
)
exit
(
1
)
# try:
# try:
...
@@ -79,7 +95,8 @@ except ImportError:
...
@@ -79,7 +95,8 @@ except ImportError:
# from progress.bar import ShadyBar
# from progress.bar import ShadyBar
# ShadyBar
# ShadyBar
# except ImportError:
# except ImportError:
# stderr.write("`progress` package is suggested to build kamaki docs.\n")
# stderr.write(
# '`progress` package is suggested to build kamaki docs.\n')
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
)),
'..'
))
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
)),
'..'
))
...
...
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