Skip to content

Commit 4bb4177

Browse files
authored
Fix build failure py33 (xdevplatform#152)
* pytest-runner version * update authors
1 parent f458adc commit 4bb4177

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

setup.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,23 @@ def get_version(version_tuple):
3939
]
4040

4141
extra_opts = {
42-
'setup_requires': ['pytest-runner'],
42+
'setup_requires': [],
4343
'tests_require': ['pytest', 'responses', 'mock']
4444
}
4545

46+
if sys.version_info[:2] == (3, 3):
47+
extra_opts['setup_requires'].append('pytest-runner<=3.0.1')
48+
else:
49+
extra_opts['setup_requires'].append('pytest-runner')
50+
4651
if sys.version_info[0] != 3:
4752
extra_opts['setup_requires'].append('flake8<=2.6.2')
4853

4954
setup(
5055
name='twitter-ads',
5156
version=VERSION,
52-
author='Brandon Black, Jacob Petrie',
53-
author_email='bblack@twitter.com, jpetrie@twitter.com',
57+
author='John Babich, Tushar Bhushan, Juan Shishido',
58+
author_email='jbabich@twitter.com, [email protected], jshishido@twitter.com',
5459
url=URL,
5560
download_url=DOWNLOAD_URL,
5661
license='MIT',

0 commit comments

Comments
 (0)