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:
Saugat Pachhai
2021-10-12 17:58:14 +03:00
committed by GitHub
co-authored by Ruslan Kuprieiev
parent 53255c22b3
commit 8abda93e3e
15 changed files with 63 additions and 289 deletions
+2 -2
View File
@@ -10,5 +10,5 @@ fi
echo 'PKG = "pip"' >dvc/utils/build.py
python setup.py sdist
python setup.py bdist_wheel
python -m pip install -U build setuptools>=58.2
python -m build --sdist --wheel --outdir dist/
+2 -1
View File
@@ -9,5 +9,6 @@ fi
rm -rf dist/
pip install twine
python setup.py sdist bdist_wheel
python -m pip install -U build setuptools>=58.2
python -m build --sdist --wheel --outdir dist/
twine upload dist/*