mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-31 21:58:54 -06:00
Add lib/include envvars for Python build
This commit is contained in:
6
.github/workflows/build-windows-package.yml
vendored
6
.github/workflows/build-windows-package.yml
vendored
@@ -34,6 +34,7 @@ jobs:
|
|||||||
- name: Install build tools
|
- name: Install build tools
|
||||||
run: |
|
run: |
|
||||||
cabal install alex happy
|
cabal install alex happy
|
||||||
|
pip install python-dev-tools
|
||||||
|
|
||||||
- name: Prepare dist folder
|
- name: Prepare dist folder
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
@@ -64,10 +65,11 @@ jobs:
|
|||||||
cp jpgf.jar /c/tmp-dist
|
cp jpgf.jar /c/tmp-dist
|
||||||
|
|
||||||
- name: Build Python bindings
|
- name: Build Python bindings
|
||||||
# shell: msys2 {0}
|
env:
|
||||||
|
EXTRA_INCLUDE_DIRS: /usr/local/include
|
||||||
|
EXTRA_LIB_DIRS: /usr/local/lib
|
||||||
run: |
|
run: |
|
||||||
cd src/runtime/python
|
cd src/runtime/python
|
||||||
pip install python-dev-tools
|
|
||||||
python setup.py build
|
python setup.py build
|
||||||
python setup.py install
|
python setup.py install
|
||||||
# cp build/*/pgf.so /c/tmp-dist
|
# cp build/*/pgf.so /c/tmp-dist
|
||||||
|
|||||||
Reference in New Issue
Block a user