Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/actions/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
PYTHONS=("cp38-cp38" "cp39-cp39" "cp310-cp310")

for PYTHON in ${PYTHONS[@]}; do
/opt/python/${PYTHON}/bin/pip install --upgrade pip wheel setuptools setuptools_scm pep517 twine auditwheel
/opt/python/${PYTHON}/bin/pip install --upgrade pip wheel setuptools setuptools_scm build twine auditwheel
/opt/python/${PYTHON}/bin/pip install oldest-supported-numpy
/opt/python/${PYTHON}/bin/python -m build --sdist --wheel . --outdir /github/workspace/wheelhouse/
done
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:

- name: Install build tools
run: |
python -m pip install --upgrade pip wheel setuptools setuptools_scm pep517 twine
python -m pip install --upgrade pip wheel setuptools setuptools_scm build twine
python -m pip install oldest-supported-numpy
shell: bash

- name: Build binary wheel
run: python -m pep517.build --binary . --out-dir dist
run: python -m build --wheel . --outdir dist

- name: CheckFiles
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:

- name: Install build tools
run: |
python -m pip install --upgrade pip wheel setuptools setuptools_scm pep517 twine
python -m pip install --upgrade pip wheel setuptools setuptools_scm build twine
python -m pip install oldest-supported-numpy
shell: bash

- name: Build binary wheel
run: python -m pep517.build --binary . --out-dir dist
run: python -m build --wheel . --outdir dist

- name: CheckFiles
run: |
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build and Deploy docs

on:
pull_request:
push:
branches: [master]

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Conda
uses: s-weigand/setup-conda@v1
with:
activate-conda: false
conda-channels: conda-forge

- name: Create environment
shell: bash -l {0}
run: |
conda create --name TEST python=3 python-build numpy --file requirements-dev.txt
source activate TEST
pip install -e . --no-deps --force-reinstall
conda info --all
conda list

- name: Build documentation
shell: bash -l {0}
run: |
source activate TEST
set -e
pushd docs
make clean html linkcheck
popd

- name: GitHub Pages action
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
2 changes: 1 addition & 1 deletion .github/workflows/tarball-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Create environment
shell: bash -l {0}
run: |
conda create --name TEST python=3 python-build cython numpy --file requirements-dev.txt
conda create --name TEST python=3 python-build numpy --file requirements-dev.txt
source activate TEST
conda info --all
conda list
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Python ${{ matrix.python-version }} numpy ${{ matrix.numpy-version }}
shell: bash -l {0}
run: |
conda create --name TEST python=${{ matrix.python-version }} python-build cython numpy=${{ matrix.numpy-version }} --file requirements-dev.txt
conda create --name TEST python=${{ matrix.python-version }} python-build numpy=${{ matrix.numpy-version }} --file requirements-dev.txt
source activate TEST
pip install -e . --no-deps --force-reinstall
conda info --all
Expand Down
48 changes: 0 additions & 48 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = ["pip >9.0.1", "setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4", "cython", "oldest-supported-numpy", "build"]
requires = ["pip >9.0.1", "setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4", "oldest-supported-numpy", "build"]
build-backend = "setuptools.build_meta"