-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yaml
42 lines (38 loc) · 1.59 KB
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
services:
build-linux:
image: quay.io/pypa/manylinux2014_x86_64
environment:
PYTHON:
ENFORCE_CLEAN_GIT: "true"
volumes:
# Sharing the entire volume causes the created venv to be broken on the host
# We need to mount git related files to get the version while building (setuptools_scm)
- "./.git:/code/.git"
- "./.gitignore:/code/.gitignore"
# These files are not necessary for building gaussianfft, but without them
# git will see them as being deleted, causing `setuptools_scm` to see a dirty environment
- "./.github:/code/.github"
- "./SECURITY.md:/code/SECURITY.md"
- "./compose.yaml:/code/compose.yaml"
- "./doc:/code/doc"
- "./examples:/code/examples"
- "./notebooks:/code/notebooks"
- "./tests:/code/tests"
# These files are used for building the extension
- "./CMakeLists.txt:/code/CMakeLists.txt"
- "./Makefile:/code/Makefile"
- "./bin:/code/bin"
- "./cmake:/code/cmake"
- "./gaussianfft:/code/gaussianfft"
- "./pyproject.toml:/code/pyproject.toml"
- "./sources:/code/sources"
- "./src:/code/src"
- "./utils.py:/code/utils.py"
# These are included in the source distribution
- "./LICENSE.txt:/code/LICENSE.txt"
- "./README.md:/code/README.md"
- "./py.typed:/code/py.typed"
# The build artifacts are stored in these locations
- "./dist:/code/dist" # The result from python -m build
- "./wheelhouse:/code/wheelhouse" # The result from python -m auditwheel
entrypoint: ["make", "-C", "/code", "build"]