File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ python:
1010install :
1111 - " python setup.py install"
1212 - " pip install -U pip"
13- - " pip install pyyaml ua-parser "
13+ - " pip install -r requirements.txt "
1414script :
1515 - python -m unittest discover
Original file line number Diff line number Diff line change 1+ ua-parser == 0.9.0
2+ PyYAML == 5.3 ; python_version != '3.4'
3+ PyYAML == 5.2 ; python_version == '3.4' # the last version support py34
Original file line number Diff line number Diff line change 1414 zip_safe = False ,
1515 include_package_data = True ,
1616 package_data = {'' : ['README.rst' ]},
17- install_requires = ['ua-parser>=0.8 .0' ],
17+ install_requires = ['ua-parser>=0.9 .0' ],
1818 classifiers = [
1919 'Development Status :: 5 - Production/Stable' ,
2020 'Environment :: Web Environment' ,
Original file line number Diff line number Diff line change 273273 "is_mobile" : true ,
274274 "is_pc" : false ,
275275 "is_tablet" : false ,
276- "is_touch_capable" : false ,
276+ "is_touch_capable" : true ,
277277 "ua_string" : " Mozilla/5.0 (iPhone; U; CPU iPhone OS) (compatible; Googlebot-Mobile/2.1; http://www.google.com/bot.html)" ,
278278 "str" : " Spider / Other / Mobile Safari"
279279 },
297297 },
298298 "windows_ce" : {
299299 "is_bot" : false ,
300- "is_mobile" : true ,
300+ "is_mobile" : false ,
301301 "is_pc" : false ,
302302 "is_tablet" : false ,
303- "is_touch_capable" : true ,
303+ "is_touch_capable" : false ,
304304 "ua_string" : " SAMSUNG-SGH-I617/UCHJ1 Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)" ,
305305 "str" : " Samsung SGH-I617 / Windows CE / IE Mobile 7.11"
306306 },
You can’t perform that action at this time.
0 commit comments