Skip to content

Commit

Permalink
Fix Travis build (Python 3.5+) (#67)
Browse files Browse the repository at this point in the history
* use Python 3.5 on Travis

* bump Python requirement to 3.5+
  • Loading branch information
hjacobs authored Feb 17, 2020
1 parent 7df3934 commit 75d2675
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: python
python:
- "3.4"
- "3.5"
install:
- pip install -r requirements.txt
- pip install coveralls
Expand Down
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from setuptools.command.test import test as TestCommand
from setuptools import setup

if sys.version_info < (3, 4, 0):
sys.stderr.write('FATAL: STUPS zign needs to be run with Python 3.4+\n')
if sys.version_info < (3, 5, 0):
sys.stderr.write('FATAL: STUPS zign needs to be run with Python 3.5+\n')
sys.exit(1)

__location__ = os.path.join(os.getcwd(), os.path.dirname(inspect.getfile(inspect.currentframe())))
Expand Down Expand Up @@ -46,7 +46,10 @@ def read_version(package):
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
]

Expand Down

0 comments on commit 75d2675

Please sign in to comment.