-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved from setup.cfg to pyproject.toml, modernized CI
- Loading branch information
1 parent
27cb0c7
commit c2b4857
Showing
3 changed files
with
41 additions
and
38 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 |
---|---|---|
|
@@ -8,20 +8,15 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, windows-2019, macos-11] | ||
os: [ubuntu-latest, windows-latest, macos-12, macos-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
# Skip Python 2.7 and 3.5, 32 bit Linux, and PyPy. | ||
CIBW_SKIP: cp27-* cp35-* *-manylinux_i686 *musllinux* pp* | ||
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2" | ||
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --strip -w {dest_dir} {wheel} | ||
CIBW_TEST_COMMAND: python -m low_index.test | ||
uses: pypa/[email protected] | ||
|
||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: low_index-wheels-${{ matrix.os }} | ||
path: ./wheelhouse/*.whl |
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 |
---|---|---|
@@ -1,6 +1,39 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel", | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "low_index" | ||
dynamic = ["version"] | ||
description = "Enumerates low index subgroups of a finitely presented group" | ||
readme = "README.rst" | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{name = "Marc Culler", email = "[email protected]"}, | ||
{name = "Nathan M. Dunfield", email = "[email protected]"}, | ||
{name = "Matthias Goerner", email = "[email protected]"}, | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: C++", | ||
"Programming Language :: Python", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/3-manifolds/low_index" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "low_index.__version__"} | ||
|
||
[tool.cibuildwheel] | ||
build = "cp38* cp39* cp310* cp311* cp312* cp313*" | ||
skip = "*musllinux*" | ||
archs = "auto64" | ||
test-command = "python -m low_index.test" | ||
|
||
[tool.cibuildwheel.linux] | ||
repair-wheel-command = "auditwheel repair --strip -w {dest_dir} {wheel}" |