From b7289606cddf46341fdf69234860a025a0004499 Mon Sep 17 00:00:00 2001 From: Jan Nakladal Date: Fri, 16 Sep 2016 21:37:59 +1200 Subject: [PATCH] fix wheel build --- .travis.yml | 2 ++ README.rst | 5 ++++- json_encoder/__init__.py | 2 +- setup.cfg | 3 +++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 52ac78d..343f906 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,8 @@ cache: - $HOME/.cache/pip - docs/node_modules/ - $HOME/docs/node_modules +before_install: + - pip install --upgrade pytest install: - | if [ "$JSON_LIBRARY" = simplejson ]; then diff --git a/README.rst b/README.rst index e42e519..9b7ca2b 100644 --- a/README.rst +++ b/README.rst @@ -14,9 +14,12 @@ json-encoder * It parse json float numbers into Decimal objects to prevent python float precision issues. -.. image:: https://travis-ci.org/NZME/json-encoder.svg?branch=master +.. image:: https://travis-ci.org/NZME/json-encoder.svg?branch=master&maxAge=259200 :target: https://travis-ci.org/NZME/json-encoder +.. image:: https://img.shields.io/pypi/v/json-encoder.svg?maxAge=259200 + :target: https://pypi.python.org/pypi/json-encoder + Installation ------------ diff --git a/json_encoder/__init__.py b/json_encoder/__init__.py index 7b5a34c..9c4eea3 100644 --- a/json_encoder/__init__.py +++ b/json_encoder/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -__version__ = '0.4.3' +__version__ = '0.4.4' _json_library = None diff --git a/setup.cfg b/setup.cfg index b7e4789..2bc7ce7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ [aliases] test=pytest + +[wheel] +universal = 1