File tree Expand file tree Collapse file tree 4 files changed +15
-12
lines changed
src/django_babel_underscore Expand file tree Collapse file tree 4 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,15 @@ matrix:
2020 exclude :
2121 - python : " 2.7"
2222 env : DJANGO_VERSION=master
23- - python : " pypy"
24- env : DJANGO_VERSION=master
2523 - python : " 2.7"
2624 env : DJANGO_VERSION=2.2.x
25+ - python : " 3.4"
26+ env : DJANGO_VERSION=master
2727 - python : " 3.4"
2828 env : DJANGO_VERSION=2.2.x
29- - python : " pypy"
30- env : DJANGO_VERSION=2.2.x
31- include :
3229 - python : " 3.5"
30+ env : DJANGO_VERSION=master
31+ - python : " pypy"
3332 env : DJANGO_VERSION=2.2.x
33+ - python : " pypy"
34+ env : DJANGO_VERSION=master
Original file line number Diff line number Diff line change @@ -83,5 +83,8 @@ def read(*parts):
8383 'Programming Language :: Python :: 3' ,
8484 'Programming Language :: Python :: 3.3' ,
8585 'Programming Language :: Python :: 3.4' ,
86+ 'Programming Language :: Python :: 3.5' ,
87+ 'Programming Language :: Python :: 3.6' ,
88+ 'Programming Language :: Python :: 3.7' ,
8689 ],
8790)
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22import django
33
4- if django .VERSION [:2 ] >= (1 , 8 ):
5- from django .template .base import Lexer , TOKEN_TEXT
4+ from django .template .base import Lexer
5+ try :
6+ from django .template .base import TokenType
7+ except ImportError : # django < 2.1
8+ from django .template .base import TOKEN_TEXT
69else :
7- from django . template import Lexer , TOKEN_TEXT
10+ TOKEN_TEXT = TokenType . TEXT
811
912from django .utils .encoding import force_text
1013from django_babel .extract import extract_django
Original file line number Diff line number Diff line change @@ -95,10 +95,6 @@ deps = {[testenv]deps110}
9595basepython = pypy
9696deps = {[testenv]deps111}
9797
98- [testenv:pypy-2.2.x]
99- basepython = pypy
100- deps = {[testenv]deps22}
101-
10298[docs]
10399commands =
104100 pip install -e {toxinidir}
You can’t perform that action at this time.
0 commit comments