Skip to content

Commit ba28396

Browse files
committed
Fix the build take two.
1 parent 0354cc7 commit ba28396

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ python:
77
- pypy
88
install:
99
- python setup.py install
10-
- pip install unittest2
1110
script:
1211
- python test_replays/test_all.py
1312
- python test_s2gs/test_all.py

sc2reader/factories/sc2factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
except NameError:
1212
basestring = unicode = str
1313

14-
if sys.version_info.major < 3:
14+
if sys.version_info[0] < 3:
1515
from urllib2 import urlopen
1616
from urlparse import urlparse
1717
else:

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
"Programming Language :: Python",
2727
"Programming Language :: Python :: 2.6",
2828
"Programming Language :: Python :: 2.7",
29+
"Programming Language :: Python :: 3.2",
30+
"Programming Language :: Python :: 3.3",
31+
"Programming Language :: Python :: Implementation :: PyPy",
32+
"Programming Language :: Python :: Implementation :: CPython",
2933
"Topic :: Games/Entertainment",
3034
"Topic :: Games/Entertainment :: Real Time Strategy",
3135
"Topic :: Software Development",
@@ -43,7 +47,7 @@
4347
]
4448
},
4549

46-
install_requires=['mpyq>=0.2.2', 'argparse', 'ordereddict'] if float(sys.version[:3]) < 2.7 else ['mpyq>=0.2.2'],
50+
install_requires=['mpyq>=0.2.2', 'argparse', 'ordereddict', 'unittest2'] if float(sys.version[:3]) < 2.7 else ['mpyq>=0.2.2'],
4751
packages=setuptools.find_packages(),
4852
include_package_data=True,
4953
zip_safe=True

0 commit comments

Comments
 (0)