File tree Expand file tree Collapse file tree 4 files changed +45
-10
lines changed Expand file tree Collapse file tree 4 files changed +45
-10
lines changed Original file line number Diff line number Diff line change 11language : python
22env :
3- - TOX_ENV=django14
4- - TOX_ENV=django15
5- - TOX_ENV=django16
3+ - TOX_ENV=py26django14
4+ - TOX_ENV=py26django15
5+ - TOX_ENV=py27django14
6+ - TOX_ENV=py27django15
7+ - TOX_ENV=py27django16
8+ - TOX_ENV=py33django16
69install : " pip install tox"
710script : tox -e $TOX_ENV
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ def to_dict(tool_name):
3838 """To represents the tool func as a dict with extra meta."""
3939 tool = getattr (self , tool_name )
4040 return dict (
41- name = x ,
42- label = getattr (tool , 'label' , x ),
41+ name = tool_name ,
42+ label = getattr (tool , 'label' , tool_name ),
4343 short_description = getattr (tool , 'short_description' , '' ))
4444
4545 context ['objectactions' ] = [to_dict (x ) for x in self .objectactions ]
Original file line number Diff line number Diff line change 2020 description = 'A Django app for adding object tools to models' ,
2121 long_description = open ('README.rst' ).read (),
2222 classifiers = [
23- " Development Status :: 3 - Alpha" ,
23+ ' Development Status :: 4 - Beta' ,
2424 "Framework :: Django" ,
2525 "Intended Audience :: Developers" ,
2626 "License :: OSI Approved :: Apache Software License" ,
2727 "Operating System :: OS Independent" ,
2828 "Programming Language :: Python :: 2" ,
29+ 'Programming Language :: Python :: 2.6' ,
30+ 'Programming Language :: Python :: 2.7' ,
31+ 'Programming Language :: Python :: 3' ,
32+ 'Programming Language :: Python :: 3.3' ,
2933 ],
3034)
Original file line number Diff line number Diff line change 44# and then run "tox" from this directory.
55
66[tox]
7- envlist = django14,django15,django16
7+ envlist =
8+ py26django14,
9+ py27django14,
10+ py26django15,
11+ py27django15,
12+ py27django16,
13+ py33django16,
14+
815downloadcache = {toxworkdir}/.cache
916
1017[testenv]
@@ -14,17 +21,38 @@ deps =
1421 django-extensions>=0.9
1522 django-nose
1623
17- [testenv:django14]
24+ [testenv:py26django14]
25+ basepython =python2.6
1826deps =
1927 {[testenv]deps}
2028 django>=1.4,>1.5
2129
22- [testenv:django15]
30+ [testenv:py26django15]
31+ basepython =python2.6
2332deps =
2433 {[testenv]deps}
2534 django>=1.5,>1.6
2635
27- [testenv:django16]
36+ [testenv:py27django14]
37+ basepython =python2.7
38+ deps =
39+ {[testenv]deps}
40+ django>=1.4,>1.5
41+
42+ [testenv:py27django15]
43+ basepython =python2.7
44+ deps =
45+ {[testenv]deps}
46+ django>=1.5,>1.6
47+
48+ [testenv:py27django16]
49+ basepython =python2.7
50+ deps =
51+ {[testenv]deps}
52+ django>=1.6,>1.5
53+
54+ [testenv:py33django16]
55+ basepython =python3.3
2856deps =
2957 {[testenv]deps}
3058 django>=1.6,>1.5
You can’t perform that action at this time.
0 commit comments