Skip to content

Commit

Permalink
Merge pull request #47 from kjgm/bugfix/compile_mac_mingw
Browse files Browse the repository at this point in the history
Bugfix/compile mac & mingw
  • Loading branch information
kjgm authored Oct 18, 2023
2 parents 7182337 + e12546c commit dd73304
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,16 @@ jobs:
mingw-w64-x86_64-gcc
mingw-w64-x86_64-python-pip
mingw-w64-x86_64-python-wheel
mingw-w64-x86_64-python-pandas
git
mingw-w64-x86_64-meson
- uses: actions/checkout@v3

- name: Install pybind11
- name: Add requirements
# This is required because --no-build-isolation disable dependences
# installation
run: pip install pybind11
run: python -m pip install gitpython pybind11 meson-python

- name: Build and install
# --no-build-isolation is required because the vanilla setuptool does not
Expand All @@ -72,4 +75,6 @@ jobs:
run: pip install --no-build-isolation .

- name: Test
run: python tests/test.py
run: |
pip install pytest
pytest
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"murtree/code/MurTree/Data Structures/",
"src/pymurtree/"],
# passing in the version to the compiled code
define_macros=[('VERSION_INFO', __version__)]
define_macros=[('VERSION_INFO', __version__)],
language='c++',
cxx_std=11
)
]

Expand Down

0 comments on commit dd73304

Please sign in to comment.