@@ -29,15 +29,17 @@ def get_timestamped_version(ver):
2929install_requirements = [
3030 'click >= 4.1,<7.1' ,
3131 'Pygments >= 2.0' , # Pygments has to be Capitalcased.
32- 'prompt_toolkit>=2.0.6,<4.0.0' ,
32+ 'prompt_toolkit>=2.0.6,<4.0.0;python_version>"2.7"' ,
33+ 'prompt_toolkit>=2.0.6,<3.0.0;python_version<="2.7"' ,
3334 'sqlparse >=0.3.0,<0.5' ,
3435 'configobj >= 5.0.6' ,
3536 'humanize >= 0.5.1' ,
36- 'cli_helpers[styles] >= 2.0.0' ,
37+ 'cli_helpers[styles] >= 2.0.0;python_version>"2.7"' ,
38+ 'cli_helpers < 1.2.0;python_version<="2.7"' ,
3739 'applicationinsights>=0.11.1' ,
3840 'future>=0.16.0' ,
3941 'wheel>=0.29.0' ,
40- 'enum34>=1.1.6'
42+ 'enum34>=1.1.6;python_version<"3.4" '
4143]
4244
4345with open ("README.md" , "r" ) as fh :
@@ -59,7 +61,6 @@ def get_timestamped_version(ver):
5961 long_description_content_type = 'text/markdown' ,
6062 install_requires = install_requirements ,
6163 include_package_data = True ,
62- python_requires = ">=3.6" ,
6364 scripts = [
6465 'mssql-cli.bat' ,
6566 'mssql-cli'
@@ -69,7 +70,9 @@ def get_timestamped_version(ver):
6970 'License :: OSI Approved :: BSD License' ,
7071 'Operating System :: Unix' ,
7172 'Programming Language :: Python' ,
73+ 'Programming Language :: Python :: 2.7' ,
7274 'Programming Language :: Python :: 3' ,
75+ 'Programming Language :: Python :: 3.5' ,
7376 'Programming Language :: Python :: 3.6' ,
7477 'Programming Language :: Python :: 3.7' ,
7578 'Programming Language :: Python :: 3.8' ,
0 commit comments