From 4b15fa0aa9cf0e3d2664f1ac80a42af55a823822 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 15 Nov 2017 23:25:47 +0300 Subject: [PATCH] Feat: PyPy --- TODO | 3 --- docs/news.rst | 2 ++ setup.py | 2 ++ tox.ini | 8 +++++++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index ba0778e..4553922 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,3 @@ -PyPy. - - Add option -s --quiet --silent for cmp.py. diff --git a/docs/news.rst b/docs/news.rst index 807f4ba..2489f64 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -8,6 +8,8 @@ Version 0.6.0 (2017-10-??) * Add option -f for rm.py. +* PyPy. + Version 0.5.0 (2017-07-09) -------------------------- diff --git a/setup.py b/setup.py index 98d3d0d..2902ebf 100755 --- a/setup.py +++ b/setup.py @@ -28,6 +28,8 @@ setup(name='ppu', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: GNU General Public License (GPL)', 'Operating System :: OS Independent', + 'Programming Language :: Python :: Implementation :: CPython', + 'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', diff --git a/tox.ini b/tox.ini index b3f3b85..82c3164 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.8 -envlist = {py27,py33,py34,py35,py36},{py27,py34}-flake8 +envlist = {py27,py33,py34,py35,py36},pypy,{py27,py34}-flake8 # Base test environment settings [testenv] @@ -10,6 +10,7 @@ basepython = py34: {env:TOXPYTHON:python3.4} py35: {env:TOXPYTHON:python3.5} py36: {env:TOXPYTHON:python3.6} + pypy: {env:TOXPYTHON:pypy} commands = {envpython} --version {envpython} -c "import struct; print(struct.calcsize('P') * 8)" @@ -48,6 +49,11 @@ commands = {[testenv]commands} {[general]commands} +[testenv:pypy] +commands = + {[testenv]commands} + {[general]commands} + [testenv:py27-flake8] deps = flake8 -- 2.39.2