diff options
| author | Mathieu Bridon <bochecha@daitauha.fr> | 2017-08-03 18:45:59 +0200 |
|---|---|---|
| committer | Mathieu Bridon <bochecha@daitauha.fr> | 2017-08-04 08:16:45 +0200 |
| commit | e80491c54de5c54fe666526cd01217375d128efd (patch) | |
| tree | 8438ceb0b02cda88dbb1ef4e22d7ab1cdbdb151f /setup.py | |
| parent | 1b8a348919b00a1d0d6e4b0110646b884b72dec8 (diff) | |
| download | pyramid-e80491c54de5c54fe666526cd01217375d128efd.tar.gz pyramid-e80491c54de5c54fe666526cd01217375d128efd.tar.bz2 pyramid-e80491c54de5c54fe666526cd01217375d128efd.zip | |
Drop repoze.lru on Python 3
Starting with Python 3.2, the functools module grew a lru_cache function
which can replace our usage of repoze.lru.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -12,6 +12,8 @@ # ############################################################################## +import sys + from setuptools import setup, find_packages def readfile(name): @@ -24,7 +26,6 @@ CHANGES = readfile('CHANGES.txt') install_requires = [ 'setuptools', 'WebOb >= 1.7.0rc2', # Response.has_body - 'repoze.lru >= 0.4', # py3 compat 'zope.interface >= 3.8.0', # has zope.interface.registry 'zope.deprecation >= 3.5.0', # py3 compat 'venusian >= 1.0a3', # ``ignore`` @@ -87,6 +88,7 @@ setup(name='pyramid', python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', install_requires=install_requires, extras_require={ + ':python_version<"3.2"': ['repoze.lru >= 0.4'], 'testing': testing_extras, 'docs': docs_extras, }, |
