-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy for Python 3.11 as well. [skip ci]
- Loading branch information
1 parent
3f2e2cf
commit 0d8d910
Showing
4 changed files
with
83 additions
and
82 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
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 |
---|---|---|
|
@@ -14,6 +14,7 @@ export DELOCATE=`pwd`/tools/travis/delocate | |
brew install [email protected] | ||
brew install [email protected] | ||
brew install [email protected] | ||
brew install [email protected] | ||
# The install above might have changed the default version of `python3`, so we need to reinstall packages: | ||
python3 -m pip install setuptools wheel build twine delocate | ||
brew install wget | ||
|
@@ -46,5 +47,12 @@ cmake .. -DPYBIND11_PYTHON_VERSION=$PYTHON_VERSION -DPYTHON_EXECUTABLE=$PYTHON | |
make -j $BUILD_THREADS bdist_wheel | ||
python3 $DELOCATE -w wheelhouse/ -v pydip/staging/dist/*.whl | ||
|
||
# Python 3.11 | ||
export PYTHON=/opt/homebrew/opt/[email protected]/bin/python3 | ||
export PYTHON_VERSION=3.11 | ||
cmake .. -DPYBIND11_PYTHON_VERSION=$PYTHON_VERSION -DPYTHON_EXECUTABLE=$PYTHON | ||
make -j $BUILD_THREADS bdist_wheel | ||
python3 $DELOCATE -w wheelhouse/ -v pydip/staging/dist/*.whl | ||
|
||
# Upload to pypi.org | ||
python3 -m twine upload -u __token__ -p $PYPI_TOKEN 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
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