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

Commit

Permalink
Support of Python 2.6 removed (#7)
Browse files Browse the repository at this point in the history
* Support of Python 2.6 removed.

* Fixed trivial typo in example in README.rst.
  • Loading branch information
eduardo-rodrigues committed Aug 11, 2018
1 parent 928470c commit 7cc3457
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
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
13 changes: 10 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. -*- mode: rst -*-
pyjet: the interface between FastJet and NumPy
==============================================

Expand All @@ -22,6 +20,15 @@ code is written in `Cython <http://cython.org/>`_ that then becomes compiled
C++, so it's fast. Remember that if you use pyjet then you are using FastJet
and should cite the papers listed `here <http://fastjet.fr/about.html>`_.

Strict dependencies
-------------------

- `Python <http://docs.python-guide.org/en/latest/starting/installation/>`__ (2.7+, 3.4+)
- `Numpy <https://scipy.org/install.html>`__

Getting started
---------------

pyjet provides the ``cluster()`` function that takes a NumPy array as input
and returns a ``ClusterSequence`` from which you can access the jets:

Expand Down Expand Up @@ -126,7 +133,7 @@ On Mac OS::

Then run pyjet's ``install-fastjet.sh`` script::

curl -O https://raw.githubusercontent.com/ndawe/pyjet/master/install-fastjet.sh
curl -O https://raw.githubusercontent.com/scikit-hep/pyjet/master/install-fastjet.sh
chmod +x install-fastjet.sh
sudo ./install-fastjet.sh

Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

import sys

# Check Python version
if sys.version_info < (2, 6):
sys.exit("pyjet only supports python 2.6 and above")

if sys.version_info[0] < 3:
import __builtin__ as builtins
else:
Expand Down Expand Up @@ -164,7 +160,7 @@ def finalize_options(self):

setup(
name='pyjet',
version='1.2.0',
version='1.3.0',
description='The interface between FastJet and NumPy',
long_description=''.join(open('README.rst').readlines()),
author='Noel Dawe',
Expand Down

0 comments on commit 7cc3457

Please sign in to comment.