import os import platform from setuptools import setup, find_packages from distutils.errors import DistutilsPlatformError from dvc import VERSION readme_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.md') try: from m2r import parse_from_file readme = parse_from_file(readme_file) except ImportError: # m2r may not be installed in user environment with open(readme_file) as f: readme = f.read() install_requires = [ "boto>=2.46.1", "google-compute-engine>=2.4.1", #required by boto "configparser>=3.5.0", "zc.lockfile>=1.2.1", "future>=0.16.0", "google-cloud>=0.24.0", "colorama>=0.3.9", "configobj>=5.0.6", "networkx>=1.11", "pyyaml>=3.12", "gitpython>=2.1.8", "ntfsutils>=0.1.3", "checksumdir>=1.1.4", "setuptools>=34.0.0", "nanotime>=0.5.2", "pyasn1>=0.4.1", "schema>=0.6.7", ] setup( name='dvc', version=VERSION, description='Git for data scientists - manage your code and data together', long_description=readme, author='Dmitry Petrov', author_email='dmitry@dataversioncontrol.com', url='https://github.com/dataversioncontrol/dvc.git', license='Apache License 2.0', install_requires=install_requires, 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, download_url='http://dataversioncontrol.com', entry_points={ 'console_scripts': ['dvc = dvc.main:main'] }, zip_safe=False )