Repository: LAMDA-NJU/Deep-Forest (language: python)

Issue:
Are there any plans to support installation on MacOS?
I found that the MacOS version is not yet available in the pypi repository. I wonder if there are plans to provide a mac version, or is there any way to install it manually?


Discussion / hints:
Hi, thanks for the issue. To use deep forest on Mac OS, here are the instructions:

```
$ git clone https://github.com/LAMDA-NJU/Deep-Forest.git
$ cd Deep-Forest
$ pip install --verbose -e .
```

The compilation should run smooth provided that you have installed X-Code, and a valid environment (It is recommended to use the pakcage environment from Anaconda).

Feel free to comment below if you have any problem during the compilation. I have tested it on MacOS Big Sur 11.1, and it looks fine after compilation.
@xuyxu Great, it does work. Thank you so much for the speedy reply.

I have been looking forward to deep-forest for a long time. My AutoML project [HyperGBM](https://github.com/DataCanvasIO/HyperGBM) based on the gbm model to achieve end-to-end full pipeline automl, currently supports xgboost, lightgbm, catboost algorithms. I am going to add CascadeForestClassifier as its built-in algorithm, and hope to have the opportunity to cooperate further.
Thanks! We would be happy to see a tool that makes hyper-parameter tunning for deep forest easier ;-) As to cooperation, you may need to check the license and contact the leader of our organization.

Fix patch:
diff --git a/.all-contributorsrc b/.all-contributorsrc
index 186e7a7..e9f9412 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -68,6 +68,16 @@
       "contributions": [
         "bug"
       ]
+    },
+    {
+      "login": "T-Allen-sudo",
+      "name": "T-Allen-sudo",
+      "avatar_url": "https://avatars.githubusercontent.com/u/65913092?v=4",
+      "profile": "https://github.com/T-Allen-sudo",
+      "contributions": [
+        "maintenance",
+        "test"
+      ]
     }
   ],
   "contributorsPerLine": 7,
diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml
index 3dc9674..f60f191 100644
--- a/.github/workflows/build-wheels.yml
+++ b/.github/workflows/build-wheels.yml
@@ -12,7 +12,7 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [ubuntu-latest, windows-latest]
+        os: [ubuntu-latest, windows-latest, macos-latest]
         python-version: [3.6, 3.7, 3.8]
     steps:
       - uses: actions/checkout@v2
@@ -20,12 +20,12 @@ jobs:
         uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
-      - name: Install cibuildwheel
-        run: python -m pip install cibuildwheel==1.8.0
       - name: Build wheels
-        run: python -m cibuildwheel --output-dir wheelhouse
+        uses: joerick/cibuildwheel@v1.9.0
+        with:
+          output-dir: wheelhouse
         env:
-          CIBW_BUILD: "cp36-manylinux_x86_64 cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp36-win_amd64 cp37-win_amd64 cp38-win_amd64"
+          CIBW_BUILD: "cp36-manylinux_x86_64 cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp36-win_amd64 cp37-win_amd64 cp38-win_amd64 cp36-macosx_x86_64 cp37-macosx_x86_64 cp38-macosx_x86_64"
       - name: Store artifacts
         uses: actions/upload-artifact@v2
         with:
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 9f69fda..fb52c53 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -12,6 +12,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
     <td align="center"><a href="https://github.com/pjgao"><img src="https://avatars.githubusercontent.com/u/22350313?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Joey Gao</b></sub></a><br /><a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=pjgao" title="Code">💻</a></td>
     <td align="center"><a href="https://github.com/Mr-memorandum"><img src="https://avatars.githubusercontent.com/u/33889145?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mr-memorandum</b></sub></a><br /><a href="https://github.com/LAMDA-NJU/Deep-Forest/issues?q=author%3AMr-memorandum" title="Bug reports">🐛</a></td>
     <td align="center"><a href="https://github.com/NiMaZi"><img src="https://avatars.githubusercontent.com/u/19431549?v=4?s=100" width="100px;" alt=""/><br /><sub><b>NiMaZi</b></sub></a><br /><a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=NiMaZi" title="Code">💻</a> <a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=NiMaZi" title="Tests">⚠️</a></td>
+    <td align="center"><a href="https://github.com/T-Allen-sudo"><img src="https://avatars.githubusercontent.com/u/65913092?v=4?s=100" width="100px;" alt=""/><br /><sub><b>T-Allen-sudo</b></sub></a><br /><a href="#maintenance-T-Allen-sudo" title="Maintenance">🚧</a> <a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=T-Allen-sudo" title="Tests">⚠️</a></td>
     <td align="center"><a href="https://github.com/xuyxu"><img src="https://avatars.githubusercontent.com/u/22359569?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yi-Xuan Xu</b></sub></a><br /><a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=xuyxu" title="Code">💻</a> <a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=xuyxu" title="Documentation">📖</a> <a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=xuyxu" title="Tests">⚠️</a></td>
     <td align="center"><a href="https://www.linkedin.com/in/tczhao/"><img src="https://avatars.githubusercontent.com/u/20961507?v=4?s=100" width="100px;" alt=""/><br /><sub><b>tczhao</b></sub></a><br /><a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=tczhao" title="Code">💻</a> <a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=tczhao" title="Documentation">📖</a> <a href="https://github.com/LAMDA-NJU/Deep-Forest/commits?author=tczhao" title="Tests">⚠️</a></td>
   </tr>


Test patch:
diff --git a/.github/workflows/mac-os-build-and-test.yml b/.github/workflows/mac-os-build-and-test.yml
new file mode 100644
index 0000000..3914850
--- /dev/null
+++ b/.github/workflows/mac-os-build-and-test.yml
@@ -0,0 +1,39 @@
+name: DeepForest-CI-MacOS
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build:
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        os: [macos-latest]
+        python-version: [3.6, 3.7, 3.8]
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up Python
+      uses: actions/setup-python@v2
+      with:
+        python-version: ${{ matrix.python-version }}
+    - name: Display python version
+      run: python -c "import sys; print(sys.version)"
+    - name: Install OS packages
+      run: brew install libomp
+    - name: Install package dependencies
+      run: |
+        python -m pip install --upgrade pip
+        pip install -r build_tools/requirements.txt
+    - name: Install
+      run: pip install --verbose --editable .
+    - name: Run tests
+      run: |
+        pytest ./tests --cov-config=.coveragerc --cov-report=xml --cov=deepforest deepforest
+    - name: Publish code coverage
+      uses: codecov/codecov-action@v1
+      with:
+        token: ${{ secrets.CODECOV_TOKEN }}
+        file: ./coverage.xml