From 3e7d8e5264b21ee95739f83ff313bec09858aadc Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 24 Apr 2021 04:21:43 -0400 Subject: [PATCH] install requirements from setup.py --- .github/workflows/debian.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 54b1fec4..410d8f08 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -38,7 +38,8 @@ jobs: run: | cd deb_dist/ sudo apt-get install ./archivebox*.deb - python3 -m pip install "django==3.1.8" + python3 -c 'from distutils.core import run_setup; result = run_setup("./setup.py", stop_after="init"); print("\n".join(result.install_requires + result.extras_require["sonic"]))' > ./requirements.txt + python3 -m pip install -r ./requirements.txt archivebox --version # sudo python3 -m pip install --upgrade --ignore-installed .