mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
PKG has to be specified in dvc/_build.py now, and can be
imported using:
from dvc import PKG
This is done to avoid importing from dvc/utils pkg which can
be expensive.
Also it's not an utility, so it is better that it remains at
the top-level namespace.
Note that we may have to fix the path for a few packages that we build,
like conda/snap/chocolatey.
16 lines
226 B
Bash
Executable File
16 lines
226 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [ ! -d "dvc" ]; then
|
|
echo "Please run this script from repository root" >&2
|
|
exit 1
|
|
fi
|
|
|
|
echo 'PKG = "pip"' >dvc/_build.py
|
|
|
|
python -m pip install build twine
|
|
python -m build
|
|
twine check dist/*
|