mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
* use setuptools_scm and build_requires * remove kwargs from setup.py * fix tests; fetch in depth in github actions * use build to build sdist/wheel * try updating pip and setuptools * update pip * remove or unpin wheel * bring back the version in pyinstaller * Update scripts/build.py Co-authored-by: Ruslan Kuprieiev <[email protected]>
215 lines
5.3 KiB
INI
215 lines
5.3 KiB
INI
[metadata]
|
|
description = Git for data scientists - manage your code and data together
|
|
name = dvc
|
|
long_description = file: README.rst
|
|
long_description_content_type = text/x-rst
|
|
license = Apache License 2.0
|
|
license_file = LICENSE
|
|
url = http://dvc.org
|
|
project_urls =
|
|
Documentation = https://dvc.org/doc
|
|
Source = https://github.com/iterative/dvc
|
|
download_url = https://github.com/iterative/dvc
|
|
author = Dmitry Petrov
|
|
author_email = [email protected]
|
|
maintainer = Iterative
|
|
maintainer_email = [email protected]
|
|
keywords = data-science, data-version-control, machine-learning, git
|
|
developer-tools, reproducibility, collaboration, ai
|
|
classifiers =
|
|
Development Status :: 4 - Beta
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.6
|
|
Programming Language :: Python :: 3.7
|
|
Programming Language :: Python :: 3.8
|
|
Programming Language :: Python :: 3.9
|
|
Programming Language :: Python :: 3.10
|
|
|
|
[options]
|
|
setup_requires =
|
|
setuptools>=58.2
|
|
setuptools_scm[toml]>=6.3.1
|
|
fastentrypoints>=0.12
|
|
python_requires = >=3.6
|
|
zip_safe = False
|
|
packages = find:
|
|
include_package_data = True
|
|
use_scm_version = True
|
|
install_requires =
|
|
# See https://github.com/pyinstaller/pyinstaller/issues/1945
|
|
ply>=3.9
|
|
colorama>=0.3.9
|
|
configobj>=5.0.6
|
|
gitpython>3
|
|
dulwich>=0.20.23
|
|
pygit2>=1.5.0,<1.7; python_version < '3.7'
|
|
pygit2>=1.5.0; python_version >= '3.7'
|
|
setuptools>=34.0.0
|
|
nanotime>=0.5.2
|
|
pyasn1>=0.4.1
|
|
voluptuous>=0.11.7
|
|
requests>=2.22.0
|
|
# See https://github.com/bdcht/grandalf/issues/26
|
|
grandalf==0.6
|
|
distro>=1.3.0
|
|
appdirs>=1.4.3
|
|
ruamel.yaml>=0.17.11
|
|
toml>=0.10.1
|
|
funcy>=1.14
|
|
pathspec>=0.6.0,<0.9.0
|
|
shortuuid>=0.5.0
|
|
tqdm>=4.45.0,<5
|
|
packaging>=19.0
|
|
zc.lockfile>=1.2.1
|
|
flufl.lock>=3.2,<4
|
|
win-unicode-console>=0.5; sys_platform == 'win32'
|
|
networkx>=2.5
|
|
psutil>=5.8.0
|
|
pydot>=1.2.4
|
|
dataclasses>=0.7; python_version < '3.7'
|
|
contextvars>=2.1; python_version < '3.7'
|
|
importlib-metadata>=1.4; python_version < '3.8'
|
|
flatten_dict>=0.4.1,<1
|
|
tabulate>=0.8.7
|
|
pygtrie>=2.3.2
|
|
dpath>=2.0.2,<3
|
|
shtab>=1.3.4,<2
|
|
rich>=10.9.0
|
|
dictdiffer>=0.8.1
|
|
python-benedict>=0.24.2
|
|
pyparsing==2.4.7
|
|
typing_extensions>=3.7.4
|
|
fsspec[http]>=2021.10.0
|
|
aiohttp-retry>=2.4.5
|
|
diskcache>=5.2.1
|
|
|
|
[options.extras_require]
|
|
# gssapi should not be included in all_remotes, because it doesn't have wheels
|
|
# for linux and mac, so it will fail to compile if user doesn't have all the
|
|
# requirements, including kerberos itself. Once all the wheels are available,
|
|
# we can start shipping it by default.
|
|
all =
|
|
%(azure)s
|
|
%(gdrive)s
|
|
%(gs)s
|
|
%(hdfs)s
|
|
%(oss)s
|
|
%(s3)s
|
|
%(ssh)s
|
|
%(webdav)s
|
|
dev =
|
|
%(all)s
|
|
%(tests)s
|
|
# Extra dependencies for remote integrations
|
|
azure =
|
|
adlfs==2021.9.1
|
|
azure-identity>=1.4.0
|
|
knack
|
|
gdrive = pydrive2[fsspec]>=1.9.4
|
|
gs = gcsfs==2021.10.0
|
|
hdfs =
|
|
fsspec[arrow]; python_version < '3.10'
|
|
oss = ossfs==2021.8.0
|
|
s3 =
|
|
s3fs==2021.10.0
|
|
aiobotocore[boto3]>1.0.1
|
|
ssh = sshfs[bcrypt]>=2021.8.1
|
|
ssh_gssapi = sshfs[gssapi]>=2021.8.1
|
|
webdav = webdav4>=0.9.1
|
|
# not to break `dvc[webhdfs]`
|
|
webhdfs =
|
|
terraform = tpi[ssh]>=2.0.0
|
|
tests =
|
|
%(terraform)s
|
|
wheel==0.37.0
|
|
# Test requirements
|
|
pytest==6.2.5
|
|
pytest-cov==3.0.0
|
|
pytest-xdist==2.4.0
|
|
pytest-mock==3.6.1
|
|
pytest-lazy-fixture==0.6.3
|
|
pytest-docker==0.10.3
|
|
flaky==3.7.0
|
|
mock==4.0.3
|
|
rangehttpserver==1.2.0
|
|
mock-ssh-server==0.9.1
|
|
wget==3.2
|
|
filelock==3.3.0
|
|
wsgidav==3.1.1
|
|
crc32c==2.2.post0
|
|
xmltodict==0.12.0
|
|
google-compute-engine==2.8.13
|
|
google-cloud-storage==1.42.3
|
|
dvclive==0.4.0
|
|
pywin32>=225; sys_platform == 'win32' and python_version < '3.10'
|
|
hdfs==2.6.0
|
|
# required by collective.checkdocs
|
|
Pygments==2.10.0
|
|
collective.checkdocs==0.2
|
|
pydocstyle==6.1.1
|
|
jaraco.windows==5.7.0
|
|
# pylint requirements
|
|
pylint==2.9.6
|
|
# we use this to suppress pytest-related false positives in our tests.
|
|
pylint-pytest==1.0.3
|
|
# we use this to suppress some messages in tests, eg: foo/bar naming,
|
|
# and, protected method calls in our tests
|
|
pylint-plugin-utils==0.6
|
|
# type-checking
|
|
mypy==0.910
|
|
types-requests==2.25.9
|
|
types-paramiko==2.7.1
|
|
types-tabulate==0.8.2
|
|
types-toml==0.10.0
|
|
|
|
[options.packages.find]
|
|
exclude =
|
|
tests
|
|
tests.*
|
|
|
|
[options.entry_points]
|
|
console_scripts =
|
|
dvc = dvc.main:main
|
|
|
|
[flake8]
|
|
ignore=
|
|
E203, # Whitespace before ':'
|
|
E266, # Too many leading '#' for block comment
|
|
W503, # Line break occurred before a binary operator
|
|
P1, # unindexed parameters in the str.format, see:
|
|
# https://pypi.org/project/flake8-string-format/
|
|
max_line_length=79
|
|
max-complexity = 15
|
|
select=B,C,E,F,W,T4,B902,T,P
|
|
show_source=true
|
|
count=true
|
|
|
|
[isort]
|
|
profile=black
|
|
known_first_party=dvc,tests
|
|
line_length=79
|
|
|
|
[tool:pytest]
|
|
log_level = debug
|
|
addopts = -ra
|
|
markers =
|
|
needs_internet: Might need network access for the tests
|
|
|
|
[mypy]
|
|
# Error output
|
|
show_column_numbers = True
|
|
show_error_codes = True
|
|
show_error_context = True
|
|
show_traceback = True
|
|
pretty = True
|
|
|
|
# See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports.
|
|
ignore_missing_imports = True
|
|
check_untyped_defs = False
|
|
|
|
# Warnings
|
|
warn_no_return=True
|
|
warn_redundant_casts=True
|
|
warn_unreachable = True
|
|
files = dvc
|