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
@@ -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/
|
||||
|
||||
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user