Skip to content

Commit d3f1c2b

Browse files
committed
fix py2.7
1 parent c6a6d93 commit d3f1c2b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ before_install:
1717
- export CC="gcc-4.9"
1818
- export CXX="g++-4.9"
1919
install:
20+
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; pip install future; fi
2021
- pip install numpy
2122
- pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
2223
- pip install pycodestyle

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
url = 'https://github.com/rusty1s/pytorch_scatter'
2525

2626
install_requires = []
27-
setup_requires = ['pytest-runner', 'future']
27+
setup_requires = ['pytest-runner']
2828
tests_require = ['pytest', 'pytest-cov']
2929

3030
setup(

0 commit comments

Comments
 (0)