Skip to content

Commit fb8dbba

Browse files
wandrew004tomasr8akx
authored
Add tzdata as dev dependency; move dev deps to pyproject.toml (#1159)
Co-authored-by: Tomas R. <[email protected]> Co-authored-by: Aarni Koskela <[email protected]>
1 parent 9d25e67 commit fb8dbba

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,14 @@ def run(self):
6969
],
7070
extras_require={
7171
'dev': [
72-
'pytest>=6.0',
73-
'pytest-cov',
72+
"tzdata;sys_platform == 'win32'",
73+
'backports.zoneinfo; python_version<"3.9"',
7474
'freezegun~=1.0',
75+
'jinja2>=3.0',
76+
'pytest-cov',
77+
'pytest>=6.0',
78+
'pytz',
79+
'setuptools',
7580
],
7681
},
7782
cmdclass={'import_cldr': import_cldr},

tox.ini

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ envlist =
1010
[testenv]
1111
extras =
1212
dev
13-
deps =
14-
{env:BABEL_TOX_EXTRA_DEPS:}
15-
backports.zoneinfo;python_version<"3.9"
16-
tzdata;sys_platform == 'win32'
17-
pytz: pytz
18-
setuptools: setuptools
19-
jinja: jinja2>=3.0
13+
deps = {env:BABEL_TOX_EXTRA_DEPS:}
2014
allowlist_externals = make
2115
commands = make clean-cldr test
2216
setenv =

0 commit comments

Comments
 (0)