Skip to content

Commit 7c54b15

Browse files
elkargigecneladis
authored andcommitted
Fix python<3.5 compatibility for SecretStorage dep (#2)
According to SecretStorage documentation: `SecretStorage 3.x supports Python 3.5 and newer versions. If you have an older version of Python, install SecretStorage 2.x` Tested in virtualenv with python2.7 and python3.7
1 parent b4dfaac commit 7c54b15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
'boto3',
2929
'keyring',
3030
'dbus-python',
31-
'secretstorage'
31+
"secretstorage < 3 ; python_version < '3.5'",
32+
"secretstorage; python_version >= '3.5'"
3233
]
3334
)

0 commit comments

Comments
 (0)