-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from pyutils/xcookie-ci-update
CI Upgrades
- Loading branch information
Showing
20 changed files
with
1,063 additions
and
275 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,33 +1,18 @@ | ||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
# | ||
# | ||
# See Also: | ||
# https://readthedocs.org/dashboard/line_profiler/advanced/ | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/source/conf.py | ||
|
||
# Build documentation with MkDocs | ||
#mkdocs: | ||
# configuration: mkdocs.yml | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
formats: all | ||
|
||
# Optionally set the version of Python and requirements required to build your docs | ||
python: | ||
version: 3.7 | ||
install: | ||
- requirements: requirements/docs.txt | ||
- method: pip | ||
path: . | ||
#extra_requirements: | ||
# - docs | ||
|
||
#conda: | ||
# environment: environment.yml | ||
- requirements: requirements/docs.txt | ||
- method: pip | ||
path: . |
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,8 +1,24 @@ | ||
#!/bin/bash | ||
__doc__=""" | ||
__doc__=" | ||
Runs cibuildwheel to create linux binary wheels. | ||
Requirements: | ||
pip install cibuildwheel | ||
SeeAlso: | ||
pyproject.toml | ||
""" | ||
" | ||
|
||
if ! which docker ; then | ||
echo "Missing requirement: docker. Please install docker before running build_wheels.sh" | ||
exit 1 | ||
fi | ||
if ! which cibuildwheel ; then | ||
echo "The cibuildwheel module is not installed. Please pip install cibuildwheel before running build_wheels.sh" | ||
exit 1 | ||
fi | ||
|
||
|
||
#pip wheel -w wheelhouse . | ||
# python -m build --wheel -o wheelhouse # line_profiler: +COMMENT_IF(binpy) | ||
cibuildwheel --config-file pyproject.toml --platform linux --arch x86_64 # line_profiler: +UNCOMMENT_IF(binpy) |
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
Oops, something went wrong.