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 (#6775)
* 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]>
This commit is contained in:
co-authored by
Ruslan Kuprieiev
parent
53255c22b3
commit
8abda93e3e
@@ -1,3 +1,17 @@
|
||||
[build-system]
|
||||
requires = [
|
||||
"setuptools>=58.2",
|
||||
"wheel",
|
||||
"setuptools_scm[toml]>=6.3.1",
|
||||
# Prevents pkg_resources import in entry point script,
|
||||
# see https://github.com/ninjaaron/fast-entry_points.
|
||||
# This saves about 200 ms on startup time for non-wheel installs.
|
||||
"fastentrypoints>=0.12"
|
||||
]
|
||||
|
||||
[tool.setuptools_scm]
|
||||
write_to = "dvc/_version.py"
|
||||
|
||||
[tool.black]
|
||||
line-length = 79
|
||||
include = '\.pyi?$'
|
||||
|
||||
Reference in New Issue
Block a user