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", "setuptools>=34.0.0", "nanotime>=0.5.2", "pyasn1>=0.4.1", "schema>=0.6.7", "jsonpath-rw==1.4.0", "requests>=2.18.4", "grandalf==0.6", "asciimatics>=1.10.0", ] # Extra dependencies for remote integrations gs = [ "google-cloud-storage==1.12.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, # NOTE: https://github.com/inveniosoftware/troubleshooting/issues/1 ':python_version=="2.7"': ['futures'], }, 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=['tests']), include_package_data=True, url='http://dataversioncontrol.com', entry_points={ 'console_scripts': ['dvc = dvc.main:main'] }, zip_safe=False, )