Skip to content

Commit

Permalink
🚧 WIP infrastructure and 📝 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Lorton committed Feb 4, 2025
1 parent 6faff0a commit 8953b63
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,31 +89,31 @@ jobs:
python_arch: 'x64'
tox_env: 'py311'
cibw_arch: 'x86_64'
cibw_build: false
cibw_build: 'cp39-manylinux_x86_64'
os: 'ubuntu-latest'
- name: 'py311 (windows/AMD64)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311'
cibw_arch: 'AMD64'
cibw_build: false
cibw_build: 'cp39-win_amd64'
os: 'windows-latest'
- name: 'py311 (macos/x86_64)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311'
cibw_arch: 'x86_64'
cibw_build: false
cibw_build: 'cp39-macosx_x86_64'
os: 'macos-13'
- name: 'py311 (macos/arm64)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'arm64'
tox_env: 'py311'
cibw_arch: 'arm64'
cibw_build: false
cibw_build: 'cp39-macosx_arm64'
os: 'macos-latest'
- name: 'py312 (ubuntu/x86_64)'
python: '3.12'
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
if: matrix.cibw_build
run: twine check wheelhouse/*.whl
- name: upload wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.cibw_build
with:
path: wheelhouse/*.whl
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ include LICENSE
include README.rst

recursive-exclude notebooks *.ipynb
recursive-exclude notebooks *.png

global-exclude *.py[cod] __pycache__/* *.so *.dylib
8 changes: 8 additions & 0 deletions docs/reference/laser_generic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ laser\_generic.core module
:undoc-members:
:show-inheritance:

laser\_generic.importation module
---------------------------------

.. automodule:: laser_generic.importation
:members:
:undoc-members:
:show-inheritance:

laser\_generic.infection module
-------------------------------

Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ Changelog = "https://github.com/InstituteforDiseaseModeling/laser-generic/blob/m
[project.scripts]
generic = "laser_generic.cli:run"

[tool.setuptools]
ext-modules = [
{name = "_core", sources = ["src/laser_generic/_core.c"]}
]

[tool.ruff]
extend-exclude = ["static", "ci/templates"]
line-length = 140
Expand Down

0 comments on commit 8953b63

Please sign in to comment.