Move Python build to `pyproject.toml`, bump Python minver to 3.7, fix macos...
Move Python build to `pyproject.toml`, bump Python minver to 3.7, fix macos wheel generation (#1916) * Failing Macos Python wheel builds fixed. * Macos Python wheels now come with dual-arch (x86-64 and arm64) * Moved (nearly) all Python build instructions to `pyproject.toml` * Enables 'build isolation', and need to specify build-deps only once, no need for users or CI scripts to pre-install them. * Enables editable `pip` installs (`pip install -e ./arbor`) * Compatible with 'build frontends' `pip` and `build`. * Passing CMake options actually got shorter * Drop Python 3.6 support.
Showing
- .github/workflows/ciwheel.yml 7 additions, 37 deletions.github/workflows/ciwheel.yml
- .github/workflows/test-everything.yml 8 additions, 12 deletions.github/workflows/test-everything.yml
- CMakeLists.txt 2 additions, 2 deletionsCMakeLists.txt
- doc/dependencies.csv 1 addition, 1 deletiondoc/dependencies.csv
- doc/install/build_install.rst 1 addition, 1 deletiondoc/install/build_install.rst
- doc/install/python.rst 24 additions, 24 deletionsdoc/install/python.rst
- pyproject.toml 72 additions, 0 deletionspyproject.toml
- python/example/single_cell_allen.py 6 additions, 6 deletionspython/example/single_cell_allen.py
- scripts/build-wheels.sh 3 additions, 3 deletionsscripts/build-wheels.sh
- setup.py 0 additions, 38 deletionssetup.py
- spack/package.py 4 additions, 4 deletionsspack/package.py