File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 2626 'matplotlib.pyplot' ,
2727 'numpy' ,
2828 'numpy.lib' ,
29- 'numpy.lib.format' ,
3029 'numpy.lib.utils' ,
3130 'numpy.compat' ,
3231 'IPython' ,
Original file line number Diff line number Diff line change 44# Distributed under the terms of the BSD License. See COPYING.rst.
55# -----------------------------------------------------------------------------
66
7+ import os
78from setuptools import setup , find_packages
89from distarray .__version__ import __version__
910
11+ # let our mocks work on ReadTheDocs
12+ on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
13+ if on_rtd :
14+ install_requires = []
15+ else :
16+ install_requires = [
17+ 'ipyparallel' ,
18+ 'numpy' ,
19+ 'mpi4py'
20+ ]
21+
1022
1123def parse_readme (filename = 'README.rst' , sentinel = "README" ):
1224 """
@@ -25,12 +37,6 @@ def parse_readme(filename='README.rst', sentinel="README"):
2537
2638if __name__ == "__main__" :
2739
28- install_requires = [
29- 'ipyparallel' ,
30- 'numpy' ,
31- 'mpi4py'
32- ]
33-
3440 metadata = {
3541 'name' : 'distarray' ,
3642 'version' : __version__ ,
You can’t perform that action at this time.
0 commit comments