mirror of https://github.com/celery/kombu.git
[3.0] Requires Python 2.6 or higher
This commit is contained in:
parent
9052d0fd72
commit
c1e06243d0
|
@ -1,7 +1,8 @@
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- 2.5
|
|
||||||
- 2.6
|
- 2.6
|
||||||
- 2.7
|
- 2.7
|
||||||
|
- 3.2
|
||||||
|
- 3.3
|
||||||
install: pip install --use-mirrors tox
|
install: pip install --use-mirrors tox
|
||||||
script: TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | tr -d .) tox
|
script: TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | tr -d .) tox
|
||||||
|
|
7
setup.py
7
setup.py
|
@ -7,8 +7,8 @@ import codecs
|
||||||
extra = {}
|
extra = {}
|
||||||
PY3 = sys.version_info[0] == 3
|
PY3 = sys.version_info[0] == 3
|
||||||
|
|
||||||
if sys.version_info < (2, 4):
|
if sys.version_info < (2, 6):
|
||||||
raise Exception('Kombu requires Python 2.4 or higher.')
|
raise Exception('Kombu requires Python 2.6 or higher.')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
@ -138,9 +138,10 @@ setup(
|
||||||
'Operating System :: OS Independent',
|
'Operating System :: OS Independent',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
|
'Programming Language :: Python :: 3.3',
|
||||||
|
'Programming Language :: Python :: 3.2',
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
'Programming Language :: Python :: 2.6',
|
'Programming Language :: Python :: 2.6',
|
||||||
'Programming Language :: Python :: 2.5',
|
|
||||||
'Programming Language :: Python :: 2',
|
'Programming Language :: Python :: 2',
|
||||||
'Programming Language :: Python :: Implementation :: CPython',
|
'Programming Language :: Python :: Implementation :: CPython',
|
||||||
'Programming Language :: Python :: Implementation :: PyPy',
|
'Programming Language :: Python :: Implementation :: PyPy',
|
||||||
|
|
15
tox.ini
15
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py25,py26,py27,py33,pypy
|
envlist = py26,py27,py33,pypy
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
distribute = True
|
distribute = True
|
||||||
|
@ -83,19 +83,6 @@ commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
|
||||||
--cover3-html-dir={toxinidir}/cover \
|
--cover3-html-dir={toxinidir}/cover \
|
||||||
--cover3-xml-file={toxinidir}/coverage.xml
|
--cover3-xml-file={toxinidir}/coverage.xml
|
||||||
|
|
||||||
[testenv:py25]
|
|
||||||
basepython = python2.5
|
|
||||||
deps = -r{toxinidir}/requirements/default.txt
|
|
||||||
-r{toxinidir}/requirements/py25.txt
|
|
||||||
-r{toxinidir}/requirements/test.txt
|
|
||||||
-r{toxinidir}/requirements/test-ci.txt
|
|
||||||
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
|
|
||||||
nosetests --with-xunit \
|
|
||||||
--xunit-file={toxinidir}/nosetests.xml \
|
|
||||||
--with-coverage3 --cover3-xml \
|
|
||||||
--cover3-html-dir={toxinidir}/cover \
|
|
||||||
--cover3-xml-file={toxinidir}/coverage.xml
|
|
||||||
|
|
||||||
[testenv:pypy]
|
[testenv:pypy]
|
||||||
basepython = pypy
|
basepython = pypy
|
||||||
deps = -r{toxinidir}/requirements/default.txt
|
deps = -r{toxinidir}/requirements/default.txt
|
||||||
|
|
Loading…
Reference in New Issue