From b3c7145c4079fe3d0c76c45421c02b96cc74b624 Mon Sep 17 00:00:00 2001 From: Peyman Salehi Date: Sat, 5 Oct 2019 00:38:55 +0330 Subject: Drop python 2 support Remove support python 2 from doc, requirements.txt and config Replace unicode with str Remove dbfpy folder and rename dbfpy3 to dbfpy Remove compat file and remove python2 packages from dependency --- setup.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 912bcb7..5054dea 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- import os import re @@ -11,7 +10,6 @@ from setuptools import find_packages, setup install = [ 'odfpy', 'openpyxl>=2.4.0', - 'backports.csv;python_version<"3.0"', 'markuppy', 'xlrd', 'xlwt', @@ -41,15 +39,14 @@ setup( 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ], - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', + python_requires='>=3.5', install_requires=install, extras_require={ 'pandas': ['pandas'], -- cgit v1.2.1