diff options
author | Ryan Petrello <lists@ryanpetrello.com> | 2013-05-03 11:11:27 -0400 |
---|---|---|
committer | Ryan Petrello <lists@ryanpetrello.com> | 2013-05-03 11:11:27 -0400 |
commit | b5d6c410646332a8a05936878bce0a551c658987 (patch) | |
tree | df7fccf5c0d03ef7949c579ddcdd0cdb1a577480 /setup.py | |
parent | 1b94b518b2eff65a9a906495b1a3352c5c53df7c (diff) | |
download | pecan-b5d6c410646332a8a05936878bce0a551c658987.tar.gz |
Replace ``pecan.compat.dictconfig`` with ``logutils.dictconfig.dictConfig``.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -24,8 +24,21 @@ except: requirements.append("simplejson >= 2.1.1") try: + from logging.config import dictConfig # noqa +except ImportError: + # + # This was introduced in Python 2.7 - the logutils package contains + # a backported replacement for 2.6 + # + requirements.append('logutils') + +try: import argparse # noqa except: + # + # This was introduced in Python 2.7 - the argparse package contains + # a backported replacement for 2.6 + # requirements.append('argparse') tests_require = requirements + [ |