build: use build-requirements.txt

This commit is contained in:
Ruslan Kuprieiev
2020-01-11 04:55:34 +02:00
parent 795e4ce6b8
commit c064865c80
4 changed files with 5 additions and 7 deletions
+2
View File
@@ -0,0 +1,2 @@
PyInstaller==3.5
psutil
+2 -4
View File
@@ -95,10 +95,8 @@ install_dependencies()
pip install --upgrade pip
print_info "Installing requirements..."
pip install .[all] psutil
print_info "Installing pyinstaller..."
pip install pyinstaller
pip install .[all]
pip install -r scripts/build-requirements.txt
}
build_dvc()
+1 -2
View File
@@ -23,9 +23,8 @@ if %errorlevel% neq 0 (echo Error: Couldn't find Inno Setup compiler. && goto :e
echo ====== Installing requirements... ======
echo PKG = "exe" > dvc\utils\build.py
call pip install .[all] || goto :error
call pip install psutil || goto :error
call pip install -r scripts\build-requirements.txt || goto :error
call dvc pull || goto :error
call pip install pyinstaller || goto :error
echo ====== Building dvc binary... ======
call pyinstaller --additional-hooks-dir scripts\hooks dvc/__main__.py --name dvc --specpath build
-1
View File
@@ -99,7 +99,6 @@ all_remotes = gs + s3 + azure + ssh + oss + gdrive + hdfs
# Extra dependecies to run tests
tests_requirements = [
"PyInstaller==3.5",
"wheel>=0.31.1",
"pydot>=1.2.4",
# Test requirements: