Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michiel Cottaar
fslpy
Commits
61995c42
Commit
61995c42
authored
May 26, 2017
by
Paul McCarthy
Browse files
Fix to setup.py documentation command
parent
5ca76f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
61995c42
...
...
@@ -62,8 +62,11 @@ class doc(Command):
if
op
.
exists
(
destdir
):
shutil
.
rmtree
(
destdir
)
env
=
dict
(
os
.
environ
)
ppath
=
[
op
.
join
(
pkgutil
.
get_loader
(
'fsl'
).
filename
,
'..'
)]
env
=
dict
(
os
.
environ
)
dirname
=
pkgutil
.
get_loader
(
'fsl'
).
get_filename
()
dirname
=
op
.
dirname
(
dirname
)
dirname
=
op
.
abspath
(
op
.
join
(
dirname
,
'..'
))
ppath
=
[
dirname
]
env
[
'PYTHONPATH'
]
=
op
.
pathsep
.
join
(
ppath
)
...
...
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