-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
306 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
c_compiler: | ||
- gcc | ||
c_compiler_version: | ||
- '12' | ||
cdt_name: | ||
- cos6 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cxx_compiler: | ||
- gxx | ||
cxx_compiler_version: | ||
- '12' | ||
docker_image: | ||
- quay.io/condaforge/linux-anvil-cos7-x86_64 | ||
numpy: | ||
- '1.26' | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.12.* *_cpython | ||
target_platform: | ||
- linux-64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version | ||
- - python | ||
- numpy |
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,35 @@ | ||
BUILD: | ||
- aarch64-conda_cos7-linux-gnu | ||
c_compiler: | ||
- gcc | ||
c_compiler_version: | ||
- '12' | ||
cdt_arch: | ||
- aarch64 | ||
cdt_name: | ||
- cos7 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cxx_compiler: | ||
- gxx | ||
cxx_compiler_version: | ||
- '12' | ||
docker_image: | ||
- quay.io/condaforge/linux-anvil-cos7-x86_64 | ||
numpy: | ||
- '1.26' | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.16.* *_cpython | ||
target_platform: | ||
- linux-aarch64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version | ||
- - python | ||
- numpy |
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,33 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '10.9' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '16' | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cxx_compiler: | ||
- clangxx | ||
cxx_compiler_version: | ||
- '16' | ||
llvm_openmp: | ||
- '16' | ||
macos_machine: | ||
- x86_64-apple-darwin13.4.0 | ||
numpy: | ||
- '1.26' | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.12.* *_cpython | ||
target_platform: | ||
- osx-64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version | ||
- - python | ||
- numpy |
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,33 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '11.0' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '16' | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cxx_compiler: | ||
- clangxx | ||
cxx_compiler_version: | ||
- '16' | ||
llvm_openmp: | ||
- '16' | ||
macos_machine: | ||
- arm64-apple-darwin20.0.0 | ||
numpy: | ||
- '1.26' | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.12.* *_cpython | ||
target_platform: | ||
- osx-arm64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version | ||
- - python | ||
- numpy |
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,21 @@ | ||
c_compiler: | ||
- vs2019 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cxx_compiler: | ||
- vs2019 | ||
numpy: | ||
- '1.26' | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.12.* *_cpython | ||
target_platform: | ||
- win-64 | ||
zip_keys: | ||
- - python | ||
- numpy |
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 |
---|---|---|
|
@@ -42,30 +42,35 @@ jobs: | |
path: dist/*.tar.gz | ||
|
||
upload_testpypi: | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
needs: [build_wheels, build_sdist] | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
environment: | ||
name: test_release | ||
url: https://test.pypi.org/p/glum | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: artifact | ||
path: dist | ||
- uses: pypa/[email protected].10 | ||
- uses: pypa/[email protected].11 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.GH_TESTPYPI_UPLOAD }} | ||
repository-url: https://test.pypi.org/legacy/ | ||
|
||
upload_pypi: | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
needs: [build_wheels, build_sdist, upload_testpypi] | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
environment: | ||
name: release | ||
url: https://pypi.org/p/glum | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: artifact | ||
path: dist | ||
- uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.GH_PYPI_UPLOAD }} | ||
- uses: pypa/[email protected] |
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
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
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
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 |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
# License: BSD 3 clause | ||
# Substantial modifications by Ben Thompson <[email protected]> | ||
# | ||
# cython: boundscheck=False, wraparound=False, cdivision=True | ||
from libc.math cimport fabs | ||
cimport numpy as np | ||
import numpy as np | ||
|
Oops, something went wrong.