Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow wheels to determine the required dependencies #504

Merged
merged 1 commit into from Jan 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -12,6 +12,7 @@
nosetests.xml

local/
build/
dist/
docs/_build/
.idea
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Expand Up @@ -26,10 +26,6 @@ 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 @@ -41,7 +37,12 @@ def grep(attrname):
license='Apache 2.0',
packages=['arrow'],
zip_safe=False,
install_requires=install_requires,
install_requires=[
'python-dateutil',
],
extras_require={
":python_version=='2.7'": ['backports.functools_lru_cache>=1.2.1'],
},
test_suite="tests",
classifiers=[
'Development Status :: 4 - Beta',
Expand Down