Skip to content

Commit 8cd661b

Browse files
authored
Merge pull request #864 from dbcli/deprecate-pypi-py2
added python_requires to setup.py to prevent installation on python 2
2 parents 84dcba2 + 451759e commit 8cd661b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def run_tests(self):
9494
'console_scripts': ['mycli = mycli.main:cli'],
9595
},
9696
cmdclass={'lint': lint, 'test': test},
97+
python_requires=">=3.6",
9798
classifiers=[
9899
'Intended Audience :: Developers',
99100
'License :: OSI Approved :: BSD License',

0 commit comments

Comments
 (0)