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

Python 2.6 support removed #4

Merged
merged 1 commit into from
Oct 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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