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
FSL
fsleyes
fsleyes-props
Commits
6dbf6004
Commit
6dbf6004
authored
Feb 27, 2018
by
Paul McCarthy
🚵
Browse files
pin sphinx version, as documentation build is broken on later releases
parent
a7ea4c06
Changes
2
Hide whitespace changes
Inline
Side-by-side
requirements-dev.txt
0 → 100644
View file @
6dbf6004
sphinx==1.6.*
sphinx_rtd_theme==0.*
mock==2.*
coverage==4.*
pytest==3.*
pytest-cov==2.*
pytest-runner>=2.*,<=3.*
setup.py
View file @
6dbf6004
...
...
@@ -21,7 +21,12 @@ from setuptools import Command
basedir
=
op
.
dirname
(
__file__
)
# Dependencies are listed in requirements.txt
install_requires
=
open
(
op
.
join
(
basedir
,
'requirements.txt'
),
'rt'
).
readlines
()
with
open
(
op
.
join
(
basedir
,
'requirements.txt'
),
'rt'
)
as
f
:
install_requires
=
[
l
.
strip
()
for
l
in
f
.
readlines
()]
# Dev-dependencies in requirements-dev.txt
with
open
(
op
.
join
(
basedir
,
'requirements-dev.txt'
),
'rt'
)
as
f
:
dev_requires
=
[
l
.
strip
()
for
l
in
f
.
readlines
()]
packages
=
find_packages
(
exclude
=
(
'doc'
,
'tests'
,
'dist'
,
'build'
,
'fsleyes_props.egg-info'
))
...
...
@@ -103,13 +108,7 @@ setup(
packages
=
packages
,
install_requires
=
install_requires
,
setup_requires
=
[
'pytest-runner'
,
'sphinx'
,
'sphinx-rtd-theme'
,
'mock'
],
tests_require
=
[
'pytest'
,
'mock'
,
'coverage'
,
'pytest-cov'
,
'pytest-html'
,
'pytest-runner'
],
setup_requires
=
dev_requires
,
test_suite
=
'tests'
,
cmdclass
=
{
...
...
Write
Preview
Supports
Markdown
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