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]>
15 lines
257 B
Bash
Executable File
15 lines
257 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ ! -d "dvc" ]; then
|
|
echo "Please run this script from repository root"
|
|
exit 1
|
|
fi
|
|
|
|
rm -rf dist/
|
|
pip install twine
|
|
python -m pip install -U build setuptools>=58.2
|
|
python -m build --sdist --wheel --outdir dist/
|
|
twine upload dist/*
|