Skip to content

Commit

Permalink
Move dev dependencies to dev extra
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Mar 3, 2023
1 parent 5b7a128 commit d2c84b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ def run(self):
# Python 3.9 and later include zoneinfo which replaces pytz
'pytz>=2015.7; python_version<"3.9"',
],
extras_require={
'dev': [
'pytest>=6.0',
'pytest-cov',
'freezegun~=1.0',
],
},
cmdclass={'import_cldr': import_cldr},
zip_safe=False,
# Note when adding extractors: builtin extractors we also want to
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ envlist =
py{37,38}-pytz

[testenv]
extras =
dev
deps =
pytest>=6.0
pytest-cov
freezegun==0.3.12
backports.zoneinfo;python_version<"3.9"
tzdata;sys_platform == 'win32'
pytz: pytz
Expand Down

0 comments on commit d2c84b7

Please sign in to comment.