Skip to content

Commit 884a3e9

Browse files
committed
BUG: Just drop 2.6.
1 parent 5c655bc commit 884a3e9

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ python:
44
- "3.3"
55
- "3.2"
66
- "2.7"
7-
- "2.6"
87
install:
9-
- if ! [[ $TRAVIS_PYTHON_VERSION > '2.6' ]]; then pip install unittest2 ; fi
108
- pip install --install-option='--no-cython-compile' -r dev_requirements.txt
119
- python setup.py develop
1210
script:
13-
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then python -m unittest2.__main__ discover -v tests ; fi
14-
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then python -m unittest discover -v tests ; fi
11+
- python -m unittest discover -v tests
1512
notifications:
1613
email:
1714

README.rst

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ trying to build any C extensions.
4747
line_profiler
4848
=============
4949

50-
The current profiling tools supported in Python 2.5 and later only time
50+
The current profiling tools supported in Python 2.7 and later only time
5151
function calls. This is a good first step for locating hotspots in one's program
5252
and is frequently all one needs to do to optimize the program. However,
5353
sometimes the cause of the hotspot is actually a single line in the function,
@@ -211,8 +211,7 @@ features:
211211
Profiler will be instantiated and inserted into your __builtins__ with the
212212
name "profile". Like LineProfiler, it may be used as a decorator, or
213213
enabled/disabled with `enable_by_count()` and `disable_by_count()`, or
214-
even as a context manager with the "with profile:" statement in Python 2.5
215-
and 2.6.
214+
even as a context manager with the "with profile:" statement.
216215

217216
* Pre-profiling setup. With the [-s/--setup] option, you can provide
218217
a script which will be executed without profiling before executing the
@@ -329,14 +328,8 @@ Frequently Asked Questions
329328

330329
* What version of Python do I need?
331330

332-
Both line_profiler and kernprof have been tested with Python 2.4-2.7.
333-
It might work with Python 2.3, but does not currently work with Python 3.x.
334-
335-
* I get negative line timings! What's going on?
336-
337-
There was a bug in 1.0b1 on Windows that resulted in this. It should be
338-
fixed in 1.0b2. If you are still seeing negative numbers, please let me
339-
know.
331+
Both `line_profiler` and `kernprof` have been tested with Python 2.7, and
332+
3.2-3.4.
340333

341334

342335
To Do
@@ -367,6 +360,7 @@ Changes
367360
* ENH: `kernprof.py` is now installed as `kernprof`.
368361
* ENH: Python 3 support. Thanks to the long-suffering Mikhail Korobov for being
369362
patient.
363+
* Dropped 2.6 as it was too annoying.
370364
* ENH: The `stripzeros` and `add_module` options. Thanks to Erik Tollerud for
371365
contributing it.
372366
* ENH: Support for IPython cell blocks. Thanks to Michael Forbes for adding

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
"Programming Language :: C",
5757
"Programming Language :: Python",
5858
'Programming Language :: Python :: 2',
59-
'Programming Language :: Python :: 2.6',
6059
'Programming Language :: Python :: 2.7',
6160
'Programming Language :: Python :: 3',
6261
'Programming Language :: Python :: 3.2',
@@ -73,4 +72,3 @@
7372
},
7473
cmdclass = cmdclass,
7574
)
76-

0 commit comments

Comments
 (0)