Commit d3f1c2b4 authored by rusty1s's avatar rusty1s
Browse files

fix py2.7

parent c6a6d938
...@@ -17,6 +17,7 @@ before_install: ...@@ -17,6 +17,7 @@ before_install:
- export CC="gcc-4.9" - export CC="gcc-4.9"
- export CXX="g++-4.9" - export CXX="g++-4.9"
install: install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; pip install future; fi
- pip install numpy - pip install numpy
- pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html - pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
- pip install pycodestyle - pip install pycodestyle
......
...@@ -24,7 +24,7 @@ __version__ = '1.3.0' ...@@ -24,7 +24,7 @@ __version__ = '1.3.0'
url = 'https://github.com/rusty1s/pytorch_scatter' url = 'https://github.com/rusty1s/pytorch_scatter'
install_requires = [] install_requires = []
setup_requires = ['pytest-runner', 'future'] setup_requires = ['pytest-runner']
tests_require = ['pytest', 'pytest-cov'] tests_require = ['pytest', 'pytest-cov']
setup( setup(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment