From fe9d648adfbbe7c26a94b6cb47260bccd5718e21 Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Sun, 11 Aug 2024 23:39:38 +0530 Subject: [PATCH] (ci/cd): removed separate wheel and twine installation step from build process and added them as requirements --- .github/workflows/publish.yml | 3 +-- requirements.txt | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6e55cd4..700e51a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,9 +21,8 @@ jobs: python-version: '3.10' - name: 📦 Install dependencies - run: | + run: | pip install -r requirements.txt - pip install wheel twine - name: 🛠️ Build package run: python3 setup.py sdist bdist_wheel diff --git a/requirements.txt b/requirements.txt index 92bee1c..19ef1c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,6 @@ mutagen tabulate tqdm appdirs -setuptools \ No newline at end of file +setuptools +wheel +twine \ No newline at end of file