Skip to content

Commit

Permalink
add conda build files for macOS arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrohwer committed May 10, 2024
1 parent 1a60523 commit 7316b70
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
1 change: 0 additions & 1 deletion packaging/cibuildwheel/macos_arm64.toml
Expand Up @@ -4,4 +4,3 @@ build-verbosity = "3"
test-command = "python -s -c \"import pysces; pysces.test(3)\""
build-frontend="pip"
archs = "arm64"
before-build = "rm -rf {project}/_skbuild"
13 changes: 13 additions & 0 deletions packaging/conda-macos-arm64/conda_build_config.yaml
@@ -0,0 +1,13 @@
python:
- 3.9
- 3.10
- 3.11
# - 3.12
numpy:
- 1.23
- 1.23
- 1.23
# - 1.26
zip_keys:
- python
- numpy
52 changes: 52 additions & 0 deletions packaging/conda-macos-arm64/meta.yaml
@@ -0,0 +1,52 @@
package:
name: pysces
# version: {{ GIT_DESCRIBE_TAG }}
version: 1.2.1

source:
# git_url: https://github.com/PySCeS/pysces.git
path: ../..

build:
number: 0
include_recipe: True
script: "{{ PYTHON }} -m pip install --no-deps --ignore-installed --no-build-isolation . -vv"

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('fortran') }}
host:
- python {{ python }}
- setuptools
- numpy {{ numpy }}
- meson>=1.2.3
- meson-python
- ninja
- pip
run:
- python {{ python }}
- setuptools
- numpy>=1.23
- scipy
- matplotlib
- ipyparallel
- assimulo

test:
imports:
- pysces
commands:
- python -s -c "import pysces; pysces.test(3)"

about:
home: http://pysces.github.io
license: BSD
license_file: LICENSE.txt
summary: Python Simulator for Cellular Systems

extra:
maintainers:
- Brett G. Olivier
- Johann M. Rohwer

0 comments on commit 7316b70

Please sign in to comment.