Skip to content

Commit 5036f4c

Browse files
committed
Add macos build
1 parent c577d14 commit 5036f4c

4 files changed

Lines changed: 41 additions & 6 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on: [push, pull_request]
44

55
jobs:
66
build_wheels:
7-
name: Build wheel py${{matrix.python}} on ${{matrix.platform}}
7+
name: Build wheel on ${{matrix.platform}}
88
runs-on: ${{matrix.platform}}
99
strategy:
1010
matrix:
11-
platform: [ubuntu-latest] # [ubuntu-latest, macos-latest, windows-latest]
11+
platform: [ubuntu-latest, macos-latest] # [ubuntu-latest, macos-latest, windows-latest]
1212
python: [39]
1313
steps:
1414
- uses: actions/checkout@v2
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
brew update > /dev/null
2+
3+
# brew install git
4+
# brew install cmake
5+
# brew install eigen
6+
# brew install libccd
7+
brew install fcl
8+
9+
# mkdir -p deps
10+
# cd deps
11+
# # Octomap
12+
# git clone https://github.com/OctoMap/octomap
13+
# cd octomap
14+
# git checkout tags/v1.8.0
15+
# mkdir build
16+
# cd build
17+
# cmake ..
18+
# make
19+
# sudo make install
20+
21+
# cd ..
22+
# cd ..
23+
# cd ..

pyproject.toml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,18 @@ requires = ["setuptools", "wheel", "numpy", "Cython"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.cibuildwheel]
6-
before-all = "bash build_dependencies/install_linux.sh"
7-
before-build = "pip install numpy cython"
6+
skip = "pp*"
7+
before-build = "pip install numpy Cython"
88
manylinux-x86_64-image = "manylinux_2_24"
9-
test-requires = "pytest"
10-
test-command = "pytest {package}/test"
9+
# test-requires = "pytest"
10+
# test-command = "pytest {package}/test"
11+
12+
[tool.cibuildwheel.linux]
13+
before-all = "bash build_dependencies/install_linux.sh"
14+
archs = ["x86_64"]
15+
16+
[tool.cibuildwheel.macos]
17+
before-all = "bash build_dependencies/install_macos.sh"
18+
19+
[tool.cibuildwheel.windows]
20+
archs = ["AMD64"]

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description = Python bindings for the Flexible Collision Library
55
long_description = file: README.md
66
long_description_content_type = text/markdown
77
url = https://github.com/CyrilWaechter/python-fcl
8+
author = Jelle Feringa, Matthew Matl, Shirokuma, Michael Dawson-Haggerty, See contributor list
9+
author_email = jelleferinga@gmail.com, mmatl@eecs.berkeley.edu, rootstock_acg@yahoo.co.jp
810
maintainer = Cyril Waechter
911
maintainer_email = cyrwae@hotmail.com
1012
license = BSD

0 commit comments

Comments
 (0)