import sys
import platform
from setuptools import setup, find_packages
from distutils.errors import DistutilsPlatformError
from dvc import VERSION


install_requires = [
    "ply>=3.9", # See https://github.com/pyinstaller/pyinstaller/issues/1945
    "configparser>=3.5.0",
    "zc.lockfile>=1.2.1",
    "future>=0.16.0",
    "colorama>=0.3.9",
    "configobj>=5.0.6",
    "networkx==2.1",
    "pyyaml>=3.12",
    "gitpython>=2.1.8",
    "ntfsutils>=0.1.4",
    "setuptools>=34.0.0",
    "nanotime>=0.5.2",
    "pyasn1>=0.4.1",
    "schema>=0.6.7",
    "jsonpath-rw==1.4.0",
    "reflink==0.2.0",
    "requests>=2.18.4",
]

if sys.version_info[0] == 2:
    install_requires.append("futures>=3.2.0")

# Extra dependencies for remote integrations
gs = [
    "google-cloud==0.32.0",
]
s3 = [
    "boto3==1.7.4",
]
azure = [
    "azure-storage-blob==1.3.0"
]
ssh = [
    "paramiko>=2.4.1",
]
all_remotes = gs + s3 + azure + ssh

setup(
    name='dvc',
    version=VERSION,
    description='Git for data scientists - manage your code and data together',
    long_description=open('README.rst', 'r').read(),
    author='Dmitry Petrov',
    author_email='dmitry@dataversioncontrol.com',
    download_url='https://github.com/iterative/dvc',
    license='Apache License 2.0',
    install_requires=install_requires,
    extras_require={
        'all': all_remotes,
        'gs': gs,
        's3': s3,
        'azure': azure,
        'ssh': ssh,
    },
    keywords='data science, data version control, machine learning',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ],
    packages=find_packages(exclude=['bin', 'tests', 'functests']),
    include_package_data=True,
    url='http://dataversioncontrol.com',
    entry_points={
        'console_scripts': ['dvc = dvc.main:main']
    },
    zip_safe=False
)

setup.py
import sys
import platform
from setuptools import setup, find_packages
from distutils.errors import DistutilsPlatformError
from dvc import VERSION


install_requires = [
    "ply>=3.9", # See https://github.com/pyinstaller/pyinstaller/issues/1945
    "configparser>=3.5.0",
    "zc.lockfile>=1.2.1",
    "future>=0.16.0",
    "colorama>=0.3.9",
    "configobj>=5.0.6",
    "networkx==2.1",
    "pyyaml>=3.12",
    "gitpython>=2.1.8",
    "ntfsutils>=0.1.4",
    "setuptools>=34.0.0",
    "nanotime>=0.5.2",
    "pyasn1>=0.4.1",
    "schema>=0.6.7",
    "jsonpath-rw==1.4.0",
    "reflink==0.2.0",
    "requests>=2.18.4",
    'futures; python_version == "2.7"',
]

# Extra dependencies for remote integrations
gs = [
    "google-cloud==0.32.0",
]
s3 = [
    "boto3==1.7.4",
]
azure = [
    "azure-storage-blob==1.3.0"
]
ssh = [
    "paramiko>=2.4.1",
]
all_remotes = gs + s3 + azure + ssh

setup(
    name='dvc',
    version=VERSION,
    description='Git for data scientists - manage your code and data together',
    long_description=open('README.rst', 'r').read(),
    author='Dmitry Petrov',
    author_email='dmitry@dataversioncontrol.com',
    download_url='https://github.com/iterative/dvc',
    license='Apache License 2.0',
    install_requires=install_requires,
    extras_require={
        'all': all_remotes,
        'gs': gs,
        's3': s3,
        'azure': azure,
        'ssh': ssh,
    },
    keywords='data science, data version control, machine learning',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ],
    packages=find_packages(exclude=['bin', 'tests', 'functests']),
    include_package_data=True,
    url='http://dataversioncontrol.com',
    entry_points={
        'console_scripts': ['dvc = dvc.main:main']
    },
    zip_safe=False
)

setup.py
diff --git a/setup.py b/setup.py
index 97eb7e1985..7a15f6ed09 100644
--- a/setup.py
+++ b/setup.py
@@ -23,11 +23,9 @@
     "jsonpath-rw==1.4.0",
     "reflink==0.2.0",
     "requests>=2.18.4",
+    'futures; python_version == "2.7"',
 ]
 
-if sys.version_info[0] == 2:
-    install_requires.append("futures>=3.2.0")
-
 # Extra dependencies for remote integrations
 gs = [
     "google-cloud==0.32.0",

Trouble installing dvc with pip: No matching distribution found for futures>=3.2.0 (from dvc)
I'm on a fresh ubuntu 18.04 and I want to install DVC. But I run into some dependency problems. Never had that problem before.
```
➤ virtualenv -p python3 .venv
➤ source .venv/bin/activate.fish
➤ pip install dvc
Collecting dvc
  Using cached https://files.pythonhosted.org/packages/d2/2d/117b6e99f4e7f0760d99944919d9dcaaeabfb6c6182a9c890b7260eec697/dvc-0.15.2-py2.py3-none-any.whl
Collecting pyasn1>=0.4.1 (from dvc)
  Using cached https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl
Collecting ply>=3.9 (from dvc)
  Using cached https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl
Collecting futures>=3.2.0 (from dvc)
  Could not find a version that satisfies the requirement futures>=3.2.0 (from dvc) (from versions: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1)
No matching distribution found for futures>=3.2.0 (from dvc)
```
Here are all relevant version
```
➤ pip --version
pip 18.0 from /home/PATH/.venv/lib/python3.6/site-packages/pip (python 3.6)
➤ python --version
Python 3.6.5
➤ virtualenv --version
16.0.0
```
