mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-05 23:09:32 +01:00
dvc: format the rest of the files with black
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
datas = copy_metadata('checksumdir')
|
||||
|
||||
datas = copy_metadata("checksumdir")
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
datas = copy_metadata('google-api-core')
|
||||
|
||||
datas = copy_metadata("google-api-core")
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
datas = copy_metadata('google-cloud-core')
|
||||
hiddenimports = ['google.api']
|
||||
|
||||
datas = copy_metadata("google-cloud-core")
|
||||
hiddenimports = ["google.api"]
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
datas = copy_metadata('google-cloud-storage')
|
||||
|
||||
datas = copy_metadata("google-cloud-storage")
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
datas = copy_metadata('google-compute-engine')
|
||||
hiddenimports = ['google_cloud_engine']
|
||||
|
||||
datas = copy_metadata("google-compute-engine")
|
||||
hiddenimports = ["google_cloud_engine"]
|
||||
|
||||
@@ -3,8 +3,8 @@ from dvc import VERSION
|
||||
from dvc.utils.compat import ConfigParser
|
||||
|
||||
config = ConfigParser.ConfigParser()
|
||||
config.add_section('Version')
|
||||
config.set('Version', 'Version', VERSION)
|
||||
config.add_section("Version")
|
||||
config.set("Version", "Version", VERSION)
|
||||
|
||||
with open('scripts/innosetup/config.ini', 'w') as f:
|
||||
with open("scripts/innosetup/config.ini", "w") as f:
|
||||
config.write(f)
|
||||
|
||||
@@ -6,7 +6,7 @@ from dvc import VERSION
|
||||
|
||||
|
||||
install_requires = [
|
||||
"ply>=3.9", # See https://github.com/pyinstaller/pyinstaller/issues/1945
|
||||
"ply>=3.9", # See https://github.com/pyinstaller/pyinstaller/issues/1945
|
||||
"configparser>=3.5.0",
|
||||
"zc.lockfile>=1.2.1",
|
||||
"future>=0.16.0",
|
||||
@@ -28,50 +28,40 @@ install_requires = [
|
||||
]
|
||||
|
||||
# Extra dependencies for remote integrations
|
||||
gs = [
|
||||
"google-cloud-storage==1.13.0",
|
||||
]
|
||||
s3 = [
|
||||
"boto3==1.7.4",
|
||||
]
|
||||
azure = [
|
||||
"azure-storage-blob==1.3.0"
|
||||
]
|
||||
ssh = [
|
||||
"paramiko>=2.4.1",
|
||||
]
|
||||
gs = ["google-cloud-storage==1.13.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',
|
||||
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='[email protected]',
|
||||
download_url='https://github.com/iterative/dvc',
|
||||
license='Apache License 2.0',
|
||||
description="Git for data scientists - manage your code and data together",
|
||||
long_description=open("README.rst", "r").read(),
|
||||
author="Dmitry Petrov",
|
||||
author_email="[email protected]",
|
||||
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,
|
||||
"all": all_remotes,
|
||||
"gs": gs,
|
||||
"s3": s3,
|
||||
"azure": azure,
|
||||
"ssh": ssh,
|
||||
# NOTE: https://github.com/inveniosoftware/troubleshooting/issues/1
|
||||
':python_version=="2.7"': ['futures'],
|
||||
':python_version=="2.7"': ["futures"],
|
||||
},
|
||||
keywords='data science, data version control, machine learning',
|
||||
keywords="data science, data version control, machine learning",
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 3',
|
||||
"Development Status :: 4 - Beta",
|
||||
"Programming Language :: Python :: 2",
|
||||
"Programming Language :: Python :: 3",
|
||||
],
|
||||
packages=find_packages(exclude=['tests']),
|
||||
packages=find_packages(exclude=["tests"]),
|
||||
include_package_data=True,
|
||||
url='http://dataversioncontrol.com',
|
||||
entry_points={
|
||||
'console_scripts': ['dvc = dvc.main:main']
|
||||
},
|
||||
url="http://dataversioncontrol.com",
|
||||
entry_points={"console_scripts": ["dvc = dvc.main:main"]},
|
||||
zip_safe=False,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user