Skip to content

Commit

Permalink
ci: Enable Python 3.10, collect source dist
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Apr 5, 2022
1 parent 8042faa commit 1648300
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,25 +242,25 @@ jobs:
working_directory: ~/project/dist
command: |
find -name '*linux_x86_64.whl' -exec auditwheel repair {} \;
- store_artifacts:
path: ~/project/dist
destination: dist
- run:
name: "Select Python"
command: |
echo 'export PATH=/opt/python/cp39-cp39/bin:$PATH' >> $BASH_ENV
echo 'export PATH=/opt/python/cp310-cp310/bin:$PATH' >> $BASH_ENV
source $BASH_ENV
python --version
pip --version
- run:
name: "Build source dist"
command: ./setup.py sdist
- store_artifacts:
path: ~/project/dist
destination: dist
- run:
name: "Install libffi"
command: apt -q update && apt -qy install libffi-dev
- run:
name: "Install CMake"
command: pip install cmake
- run:
name: "Build source dist"
command: ./setup.py sdist
- run:
name: "Build wheel with CMake build"
command: ./setup.py bdist_wheel
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/python_build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
set -eo pipefail

if [ -n "$APPVEYOR" ]; then
PYTHON_PATHS="/c/Python39-x64:/c/Python39-x64/Scripts /c/Python38-x64:/c/Python38-x64/Scripts /c/Python37-x64:/c/Python37-x64/Scripts"
PYTHON_PATHS="/c/Python310-x64:/c/Python310-x64/Scripts /c/Python39-x64:/c/Python39-x64/Scripts /c/Python38-x64:/c/Python38-x64/Scripts /c/Python37-x64:/c/Python37-x64/Scripts"
elif [ -n "$CIRCLECI" ]; then
if [ "$OSTYPE" = "linux-gnu" ]; then
PYTHON_PATHS="/opt/python/cp39-cp39/bin /opt/python/cp38-cp38/bin /opt/python/cp37-cp37m/bin /opt/python/cp36-cp36m/bin"
PYTHON_PATHS="/opt/python/cp310-cp310/bin /opt/python/cp39-cp39/bin /opt/python/cp38-cp38/bin /opt/python/cp37-cp37m/bin /opt/python/cp36-cp36m/bin"
else
# The continuation of the script expects "python" executable name,
# so make link python -> python3.
Expand Down

0 comments on commit 1648300

Please sign in to comment.