Skip to content

Commit

Permalink
Merge branch 'level1-version4' into update-kisao
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Oct 24, 2023
2 parents 202ea2d + 6af18da commit 21aaab2
Show file tree
Hide file tree
Showing 4 changed files with 2,487 additions and 20 deletions.
30 changes: 11 additions & 19 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Make SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Optional, use if you use setuptools_scm
submodules: recursive # Optional, use if you have submodules
Expand All @@ -22,7 +22,7 @@ jobs:
cp src/bindings/python/MANIFEST.in .
pipx run build --sdist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz
name: libSEDML-sdist
Expand All @@ -34,10 +34,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
python_version: ['cp37-*', 'cp38-*', 'cp39-*', 'cp310-*', 'cp311-*']
python_version: ['cp37-*', 'cp38-*', 'cp39-*', 'cp310-*', 'cp311-*', 'cp312-*']

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Optional, use if you use setuptools_scm
submodules: recursive # Optional, use if you have submodules
Expand All @@ -46,40 +46,32 @@ jobs:
run: |
cp src/bindings/python/setup.py .
- uses: pypa/cibuildwheel@v2.11.2
- uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD: ${{ matrix.python_version }}
CIBW_ARCHS_MACOS: x86_64 arm64

- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl
name: libSEDML-${{ matrix.os }}
name: libSEDML-wheels

upload_all:
needs: [build_wheels, make_sdist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: libSEDML-sdist
path: dist
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: libSEDML-ubuntu-20.04
path: dist
- uses: actions/download-artifact@v2
with:
name: libSEDML-macos-10.15
path: dist
- uses: actions/download-artifact@v2
with:
name: libSEDML-windows-2019
name: libSEDML-wheels
path: dist

- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@v1.8.10
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,7 @@ libsedml/_*
examples/python/*.xml
dev/temp_deviser_file.xml
setup.py

# documentation
/doc/html/
Doxyfile
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,23 @@ note the semicolon denoting the listing of several libraries. Of course you coul

for linking against `expat` and indicating, that libSBML was compiled without compression.

## Documentation
API documentation is something to be added and pull requests are happily accepted to improve them. For now a basic doxygen file
is provided and documentation can be generated after checkout like so:

```bash
PROJECT_NUMBER=2.0.32 doxygen -x libSEDML.doxyfile > Doxyfile && doxygen
```

This expands the version number in the doxygen file, creates a temporary `Doxyfile` and runs doxygen with it. After that the
generated documentation is available in the `./doc/html` folder.

## License

This project is open source and freely available under the [Simplified BSD](http://opensource.org/licenses/BSD-2-Clause) license. Should that license not meet your needs, please contact me.


Copyright (c) 2013-2021, Frank T. Bergmann
Copyright (c) 2013-2023, Frank T. Bergmann
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
Loading

0 comments on commit 21aaab2

Please sign in to comment.