Skip to content

Commit

Permalink
Fixes #472: Specify Python 3.8 support in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovsky committed Oct 15, 2019
1 parent aa5ed83 commit 1d60b37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def test_suite():
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries',
'Topic :: Database'
Expand Down Expand Up @@ -105,8 +106,8 @@ def test_suite():

if __name__ == "__main__":
pv = sys.version_info[:2]
if pv not in ((2, 7), (3, 3), (3, 4), (3, 5), (3, 6), (3, 7)):
s = "Sorry, but %s %s requires Python of one of the following versions: 2.7, 3.3-3.7." \
if pv not in ((2, 7), (3, 3), (3, 4), (3, 5), (3, 6), (3, 7), (3, 8)):
s = "Sorry, but %s %s requires Python of one of the following versions: 2.7, 3.3-3.8." \
" You have version %s"
print(s % (name, version, sys.version.split(' ', 1)[0]))
sys.exit(1)
Expand Down

0 comments on commit 1d60b37

Please sign in to comment.