Skip to content

Commit 083f103

Browse files
committed
create requirements file for build deps
1 parent a90675e commit 083f103

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

Diff for: .github/workflows/release-pkg.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install setuptools wheel twine
27+
pip install -r requirements/build-pkg.txt
2828
- name: Build and publish
2929
env:
3030
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

Diff for: .github/workflows/test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,9 @@ jobs:
9898
run: |
9999
npm install -g npm@latest
100100
npm --version
101+
- name: Install Python Dependencies
102+
run: |
103+
pip install --upgrade pip
104+
pip install -r requirements/build-pkg.txt
101105
- name: Test Build Creation
102106
run: python setup.py bdist_wheel sdist

Diff for: requirements.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
pre-commit
2-
twine
3-
wheel
4-
setuptools_scm
51
-r requirements/build-docs.txt
2+
-r requirements/build-pkg.txt
63
-r requirements/check-style.txt
74
-r requirements/check-types.txt
85
-r requirements/pkg-deps.txt

Diff for: requirements/build-pkg.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pre-commit
2+
twine
3+
wheel
4+
setuptools_scm

0 commit comments

Comments
 (0)