Skip to content

Commit

Permalink
Merge pull request arrow-py#496 from ramonsaraiva/add-functools-lru-c…
Browse files Browse the repository at this point in the history
…ache-setup

Add functools-lru-cache to setup
  • Loading branch information
crsmithdev authored Nov 25, 2017
2 parents a5b4f4c + 62c5312 commit 4705ede
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import codecs
import os.path
import re
import sys

try:
from setuptools import setup
Expand All @@ -25,6 +26,10 @@ def grep(attrname):

file_text = read(fpath('arrow/__init__.py'))

install_requires = ['python-dateutil']
if sys.version_info[0] < 3:
install_requires.append('backports.functools_lru_cache==1.2.1')

setup(
name='arrow',
version=grep('__version__'),
Expand All @@ -36,9 +41,7 @@ def grep(attrname):
license='Apache 2.0',
packages=['arrow'],
zip_safe=False,
install_requires=[
'python-dateutil'
],
install_requires=install_requires,
test_suite="tests",
classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit 4705ede

Please sign in to comment.