Browse Source

Install setuptools-rust

Jelmer Vernooij 1 year ago
parent
commit
8276aad24f
3 changed files with 3 additions and 3 deletions
  1. 1 1
      .github/workflows/python-distributions.yml
  2. 1 1
      .github/workflows/pythontest.yml
  3. 1 1
      pyproject.toml

+ 1 - 1
.github/workflows/python-distributions.yml

@@ -25,7 +25,7 @@ jobs:
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
-          pip install setuptools wheel fastimport paramiko urllib3 cibuildwheel==2.16.2
+          pip install setuptools wheel fastimport paramiko urllib3 cibuildwheel==2.16.2 setuptools-rust
       - name: Install gpg on supported platforms
         run: pip install -U gpg
         if: "matrix.os != 'windows-latest'"

+ 1 - 1
.github/workflows/pythontest.yml

@@ -31,7 +31,7 @@ jobs:
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
-          pip install --upgrade ".[fastimport,paramiko,https]"
+          pip install --upgrade ".[fastimport,paramiko,https]"  setuptools-rust
       - name: Install gpg on supported platforms
         run: pip install --upgrade ".[pgp]"
         if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'"

+ 1 - 1
pyproject.toml

@@ -1,5 +1,5 @@
 [build-system]
-requires = ["setuptools>=61.2"]
+requires = ["setuptools>=61.2", "setuptools-rust"]
 build-backend = "setuptools.build_meta"
 
 [project]