Skip to content

Commit 6a00aba

Browse files
committed
Merge pull request #19 from pytest-dev/universal-wheel
Universal wheel
2 parents 7f3dd99 + 9da3453 commit 6a00aba

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ language: python
22
python:
33
- 2.6
44
- 2.7
5-
- 3.2
6-
- 3.3
75
- 3.4
6+
- 3.5
87
- pypy
98

109
install:

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal=1

setup.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
import sys
2-
31
from setuptools import setup
42

53

6-
dependencies = ['pytest>=2.4']
7-
if sys.version_info < (3, 3):
8-
dependencies.append('mock')
9-
104
setup(
115
name='pytest-mock',
126
version='0.7.0',
@@ -15,7 +9,12 @@
159
},
1610
py_modules=['pytest_mock'],
1711
platforms='any',
18-
install_requires=dependencies,
12+
install_requires=[
13+
'pytest>=2.4',
14+
],
15+
extras_require={
16+
':python_version=="2.6" or python_version=="2.7"': ['mock'],
17+
},
1918
url='https://github.com/pytest-dev/pytest-mock/',
2019
license='LGPL',
2120
author='Bruno Oliveira',
@@ -31,9 +30,8 @@
3130
'Programming Language :: Python :: 2.6',
3231
'Programming Language :: Python :: 2.7',
3332
'Programming Language :: Python :: 3',
34-
'Programming Language :: Python :: 3.2',
35-
'Programming Language :: Python :: 3.3',
3633
'Programming Language :: Python :: 3.4',
34+
'Programming Language :: Python :: 3.5',
3735
'Topic :: Software Development :: Testing',
3836
]
3937
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
# note that tox expects interpreters to be found at C:\PythonXY,
33
# with XY being python version ("27" or "34") for instance
4-
envlist = py26, py27, py32, py33, py34
4+
envlist = py26, py27, py34, py35
55

66
[testenv]
77
commands = py.test test_pytest_mock.py

0 commit comments

Comments
 (0)