From c047087b72d37f094320e3bdff3fc24a79551ea8 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Tue, 11 Mar 2014 23:52:09 -0400 Subject: Add formal support for pypy. Fixes bug 1290922 Change-Id: I93f8318bad32800eb384e6a5e09dfc8eae5fed79 --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index fa7c87d..e32f5ad 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ import sys +import platform from setuptools import setup, find_packages @@ -60,7 +61,9 @@ if sys.version_info < (2, 7): if sys.version_info < (3, 0): # These don't support Python3 yet - don't run their tests - tests_require += ['Kajiki'] + if platform.python_implementation() != 'PyPy': + # Kajiki is not pypy-compatible + tests_require += ['Kajiki'] tests_require += ['Genshi'] else: # Genshi added Python3 support in 0.7 @@ -96,6 +99,7 @@ setup( 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], -- cgit v1.2.1