Skip to content

Commit 1f4885f

Browse files
committed
python_requires and python 3.8 support
1 parent 3f85a0b commit 1f4885f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@
4747

4848

4949
# List all versions of Python which are supported
50+
python_minor_min = 5
51+
python_minor_max = 8
5052
confirmed_python_versions = [
51-
('Programming Language :: Python :: %s' % x)
52-
for x in '3.5 3.6 3.7'.split(' ')
53-
]
53+
'Programming Language :: Python :: 3.{MINOR:d}'.format(MINOR = minor)
54+
for minor in range(python_minor_min, python_minor_max + 1)
55+
]
5456

5557

5658
# Fetch readme file
@@ -98,6 +100,7 @@
98100
license = 'Apache License 2.0',
99101
keywords = ['filesystem', 'fuse', 'logging', 'monitoring'],
100102
include_package_data = True,
103+
python_requires = '>=3.{MINOR:d}'.format(MINOR = python_minor_min),
101104
install_requires = [
102105
'click>=7.0',
103106
'refuse==0.0.5',

0 commit comments

Comments
 (0)