From 8aa97c7fd7951c36ac593a3d9f935e54e2a1f087 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 10 May 2019 01:45:47 -0400 Subject: [PATCH] Add Python 3 package targets Signed-off-by: Roberto Rosario --- setup.cfg | 5 ++++- setup.py.tmpl | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 48a59b9e72..24398cf0aa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ +[bdist_wheel] +universal = 1 + [wheel] -python-tag = py2 +python-tag = py2.py3 diff --git a/setup.py.tmpl b/setup.py.tmpl index 5f4121aeeb..a14872d68b 100644 --- a/setup.py.tmpl +++ b/setup.py.tmpl @@ -79,6 +79,11 @@ setup( 'Natural Language :: English', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', 'Topic :: Communications :: File Sharing', @@ -91,6 +96,7 @@ setup( name=PACKAGE_NAME, packages=find_packages(PACKAGE_DIR), platforms=['any'], + python_requires = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', scripts=['mayan/bin/mayan-edms.py'], url='https://gitlab.com/mayan-edms/mayan-edms', version=mayan.__version__,