diff --git a/.travis.yml b/.travis.yml index 67a45d9..aa2ef12 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: python # ===== Linux ====== dist: xenial python: - - 2.7 - 3.5 - 3.6 - 3.7 @@ -19,17 +18,6 @@ matrix: # - os: windows include: # ======= OSX ======== - - name: "Python 2.7.14 on macOS 10.13" - os: osx - osx_image: xcode9.3 # Python 2.7.14_2 running on macOS 10.13 - language: shell # 'language: python' errors on Travis CI macOS - before_install: - - python --version - - pip install pytest --user - - pip install codecov --user - install: pip install ".[test]" --user - script: python -m pytest # pytest command won't be found - after_success: python -m codecov # codecov command won't be found - name: "Python 3.6.5 on macOS 10.13" os: osx osx_image: xcode9.4 # Python 3.6.5 running on macOS 10.13 @@ -57,16 +45,6 @@ matrix: script: python3 -m pytest after_success: python3 -m codecov # ====== WINDOWS ========= - - name: "Python 2.7.16 on Windows" - os: windows # Windows 10.0.17134 N/A Build 17134 - language: shell # 'language: python' errors Travis CI Windows - before_install: - - choco install python2 - - python --version - # - python -m pip install --upgrade pip - - pip install --upgrade pytest - - pip install codecov - env: PATH=/c/Python27:/c/Python27/Scripts:$PATH - name: "Python 3.5.4 on Windows" os: windows # Windows 10.0.17134 N/A Build 17134 language: shell # 'language: python' is an error on Travis CI Windows diff --git a/setup.py b/setup.py index 9d4364b..d111074 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,6 @@ setup( ], extras_require={ 'test': TEST_REQUIRES, - ':python_version == "2.7"': ['futures'], }, platforms=['linux', 'osx', 'windows'], keywords=['cache', 'persistence', 'mongo', 'memoization', 'decorator'], @@ -53,8 +52,6 @@ setup( 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6',