Skip to content

Commit fb42292

Browse files
author
Shoshana Berleant
authored
Merge pull request #1504 from shoshber/mockdep
WIP/FIX clean up dependency, installation
2 parents 3abf131 + 9cd4675 commit fb42292

File tree

5 files changed

+6
-18
lines changed

5 files changed

+6
-18
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ install:
4545
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes vtk; fi
4646
- pip install python-coveralls
4747
- pip install nose-cov
48-
- pip install mock
4948
# Add tvtk (PIL is required by blockcanvas)
5049
# Install mayavi (see https://github.com/enthought/mayavi/issues/271)
5150
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
@@ -56,8 +55,7 @@ install:
5655
pip install https://github.com/dmsurti/mayavi/archive/4d4aaf315a29d6a86707dd95149e27d9ed2225bf.zip;
5756
pip install -e git+https://github.com/enthought/ets.git#egg=ets;
5857
fi
59-
- pip install -r requirements.txt # finish remaining requirements
60-
- python setup.py install
58+
- pip install -e .
6159
script:
6260
- python -W once:FSL:UserWarning:nipype `which nosetests` --with-doctest --with-cov --cover-package nipype --cov-config .coveragerc --logging-level=DEBUG --verbosity=3
6361
after_success:

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies:
2121
# Set up python environment
2222
- pip install --upgrade pip
2323
- pip install -e .
24-
- pip install matplotlib sphinx ipython boto coverage dipy mock
24+
- pip install matplotlib sphinx ipython boto coverage dipy
2525
# Add tvtk
2626
- pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz
2727
- pip install -e git+https://github.com/enthought/etsdevtools.git#egg=etsdevtools

doc/users/install.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ or::
2424

2525
git clone https://github.com/nipy/nipype.git
2626

27-
Check out the list of nipype's `current dependencies <https://github.com/nipy/nipype/blob/master/requirements.txt>`_.
27+
Check out the list of nipype's `current dependencies <https://github.com/shoshber/nipype/blob/master/nipype/info.py#L105>`_.
2828

2929
Install
3030
-------
@@ -61,8 +61,7 @@ If you downloaded the source distribution named something
6161
like ``nipype-x.y.tar.gz``, then unpack the tarball, change into the
6262
``nipype-x.y`` directory and install nipype using::
6363

64-
pip install -r requirements.txt
65-
python setup.py install
64+
pip install -e .
6665

6766
**Note:** Depending on permissions you may need to use ``sudo``.
6867

nipype/info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,6 @@ def get_nipype_gitversion():
142142
"future>=%s" % FUTURE_MIN_VERSION,
143143
"simplejson>=%s" % SIMPLEJSON_MIN_VERSION,
144144
"prov>=%s" % PROV_MIN_VERSION,
145+
"mock",
145146
"xvfbwrapper"]
146147
STATUS = 'stable'

requirements.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1 @@
1-
numpy>=1.6.2
2-
scipy>=0.11
3-
networkx>=1.7
4-
traits>=4.3
5-
python-dateutil>=1.5
6-
nibabel>=2.0.1
7-
nose>=1.2
8-
future==0.15.2
9-
simplejson>=3.8.0
10-
prov>=1.4.0
11-
xvfbwrapper
1+
Nipype no longer maintains this file. Use ``pip install \-e .`` instead.

0 commit comments

Comments
 (0)