Skip to content

Commit

Permalink
Migrate to pyproject (#46)
Browse files Browse the repository at this point in the history
Co-authored-by: Conor MacBride <conor@macbride.me>
  • Loading branch information
nabobalis and ConorMacBride committed Jan 24, 2023
1 parent d8d6348 commit 4626f61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 108 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: CI

env:
CIBW_BEFORE_ALL_LINUX: "yum -y install fftw-devel && git clean -xfd -e wheelhouse"
CIBW_BEFORE_ALL_MACOS: "brew install fftw && git clean -xfd -e wheelhouse"

on:
push:
branches:
Expand Down Expand Up @@ -83,9 +79,6 @@ jobs:

uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@main
with:
env: |
CIBW_BEFORE_ALL_LINUX: "yum -y install fftw-devel && git clean -xfd -e wheelhouse"
CIBW_BEFORE_ALL_MACOS: "brew install fftw && git clean -xfd -e wheelhouse"
test_extras: 'dev'
test_command: 'pytest -p no:warnings --doctest-rst -m "not mpl_image_compare" --pyargs pyflct'
submodules: false
Expand Down
101 changes: 0 additions & 101 deletions azure-pipelines.yml

This file was deleted.

8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ requires = [
]
build-backend = 'setuptools.build_meta'

[tool.cibuildwheel]

[tool.cibuildwheel.linux]
before-all = "yum -y install fftw-devel; git clean -xfd -e dist"

[tool.cibuildwheel.macos]
before-all = "brew install fftw; git clean -xfd -e dist"

[tool.black]
line-length = 120
include = '\.pyi?$'
Expand Down

0 comments on commit 4626f61

Please sign in to comment.