Skip to content

Commit

Permalink
deprecate py2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Feb 6, 2019
1 parent a54cd4b commit dfd8321
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7-dev"

sudo: required

cache: pip
cache:
- pip
- apt

addons:
apt:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
'sphinxcontrib-bibtex'
]

if sys.version_info[:2] < (2, 7) or (3, 0) <= sys.version_info[:2] < (3, 5):
raise RuntimeError("Python version 2.7 or >=3.5 required.")
if sys.version_info[:2] < (3, 5):
raise RuntimeError("Python version >=3.5 required.")

version_py = os.path.join(os.path.dirname(
__file__), 'graphtools', 'version.py')
Expand Down

0 comments on commit dfd8321

Please sign in to comment.