Skip to content

Commit fbeee01

Browse files
authored
Merge pull request #69 from astro-informatics/scikit-build
scikit-build: editable mode not supported
2 parents c039e4e + 558bd21 commit fbeee01

File tree

3 files changed

+5
-29
lines changed

3 files changed

+5
-29
lines changed

.github/workflows/python.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,6 @@ name: Python Build
99
pull_request:
1010

1111
jobs:
12-
development-mode:
13-
name: pip development mode on ${{ matrix.os }}
14-
runs-on: ${{ matrix.os }}
15-
strategy:
16-
fail-fast: false
17-
matrix:
18-
os: [macos-latest]
19-
python-version: [3.8]
20-
21-
steps:
22-
- uses: actions/checkout@v2
23-
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
25-
with:
26-
python-version: ${{ matrix.python-version }}
27-
28-
- name: Install build packages and pytest
29-
run: |
30-
python -m pip install --upgrade pip wheel
31-
python -m pip install scikit-build
32-
33-
- name: Install pyssht
34-
run: pip install -e .[dev,ducc0]
35-
36-
- name: run pytest
37-
run: pytest tests/test_pyssht.py
38-
3912
from-sdist:
4013
name: python source distribution
4114
runs-on: ubuntu-latest

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ include cmake/*.cmake
55
include conanfile.txt
66
recursive-include src/c *.c CMakeLists.txt
77
recursive-include include/ssht *.h CMakeLists.txt
8-
recursive-include src/pyssht .py *.pyx *.md CMakeLists.txt
8+
recursive-include src/pyssht *.py *.pyx *.md CMakeLists.txt

src/pyssht/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44

55
__doc__ = (Path(__file__).parent / "SSHT_Python_Documentation.md").read_text()
66

7-
from pyssht.exceptions import ssht_spin_error, ssht_input_error # type: ignore
7+
from pyssht.exceptions import (
8+
ssht_spin_error as ssht_spin_error,
9+
ssht_input_error as ssht_input_error,
10+
)
811
from pyssht.cpyssht import *

0 commit comments

Comments
 (0)