diff --git a/.travis.yml b/.travis.yml index fde4fe4..c0cf4c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ os: - linux python: - - 2.6 - 2.7 - 3.4 - 3.5 diff --git a/README.rst b/README.rst index f12ef79..b682635 100644 --- a/README.rst +++ b/README.rst @@ -16,6 +16,24 @@ particle four-momenta. By default numpythia only depends on NumPy and builds internal copies of the PYTHIA and `HepMC `_ source code. +Python versions supported: + +.. image:: https://img.shields.io/badge/python-2.7-blue.svg + :target: https://badge.fury.io/py/scikit-hep + +.. image:: https://img.shields.io/badge/python-3.4-blue.svg + :target: https://badge.fury.io/py/scikit-hep + +.. image:: https://img.shields.io/badge/python-3.5-blue.svg + :target: https://badge.fury.io/py/scikit-hep + +.. image:: https://img.shields.io/badge/python-3.6-blue.svg + :target: https://badge.fury.io/py/scikit-hep + + +Getting started +--------------- + .. code-block:: python from numpythia import Pythia, hepmc_write, hepmc_read diff --git a/setup.py b/setup.py index 1be7d47..6d2823b 100755 --- a/setup.py +++ b/setup.py @@ -3,8 +3,8 @@ import sys # Check Python version -if sys.version_info < (2, 6): - sys.exit("numpythia only supports python 2.6 and above") +if sys.version_info < (2, 7): + sys.exit("numpythia only supports python 2.7 and above") if sys.version_info[0] < 3: import __builtin__ as builtins