mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-20 00:10:35 -05:00
fix codeql complaining about missing cython
backports commits6cbb7d6,142bb0e,4df8255, and30c145e
This commit is contained in:
parent
d0fb234f46
commit
aa27294927
3 changed files with 9 additions and 2 deletions
7
.github/workflows/codeql-analysis.yml
vendored
7
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -33,7 +33,10 @@ jobs:
|
|||
with:
|
||||
# just fetching 1 commit is not enough for setuptools-scm, so we fetch all
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
|
|
@ -59,7 +62,7 @@ jobs:
|
|||
- name: Install requirements, build and install Borg
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libacl1-dev
|
||||
sudo apt-get install -y libacl1-dev
|
||||
pip3 install -r requirements.d/development.txt
|
||||
pip3 install -e .
|
||||
|
||||
|
|
|
|||
3
pyproject.toml
Normal file
3
pyproject.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[build-system]
|
||||
requires = ["setuptools", "pkgconfig", "Cython!=0.27"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
1
setup.py
1
setup.py
|
|
@ -19,6 +19,7 @@ try:
|
|||
except ImportError:
|
||||
cythonize = None
|
||||
|
||||
sys.path += [os.path.dirname(__file__)]
|
||||
import setup_checksums
|
||||
import setup_compress
|
||||
import setup_crypto
|
||||
|
|
|
|||
Loading…
Reference in a new issue