-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: 🎡 add support for building 3.12 wheels
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ghcr.io/darvid/python_hyperscan_manylinux_2_28_x86_64:latest | ||
# FROM musllinux-hyperscan | ||
ENV PATH=/opt/python/cp312-cp312/bin:$PATH | ||
ENV SETUPTOOLS_SCM_PRETEND_VERSION="0.0.0-dev" | ||
RUN pip install setuptools pdm auditwheel | ||
WORKDIR /project | ||
COPY ./src /project/src | ||
COPY ./pyproject.toml setup.py README.md /project/ | ||
RUN find . -name "*.so" -delete | ||
RUN pdm build -v --no-sdist | ||
RUN auditwheel repair dist/*.whl | ||
RUN pip install wheelhouse/*.whl | ||
# RUN python -c "import hyperscan" |