Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Python 2.6 support removed
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-rodrigues committed Jul 17, 2018
1 parent db3c0d9 commit 8c213ef
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -4,7 +4,6 @@ os:
- linux

python:
- 2.6
- 2.7
- 3.4
- 3.5
Expand Down
18 changes: 18 additions & 0 deletions README.rst
Expand Up @@ -16,6 +16,24 @@ particle four-momenta. By default numpythia only depends on NumPy and builds
internal copies of the PYTHIA and `HepMC <http://hepmc.web.cern.ch/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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -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
Expand Down

0 comments on commit 8c213ef

Please sign in to comment.