зеркало из https://github.com/mozilla/glean.git
Python: Do not use bundled `uniffi-bindgen` wrapper
This commit is contained in:
Родитель
f9de5b33ad
Коммит
27b84095aa
3
Makefile
3
Makefile
|
@ -43,17 +43,14 @@ build-apk: build-kotlin ## Build an apk of the Glean sample app
|
|||
./gradlew glean-sample-app:build glean-sample-app:assembleAndroidTest
|
||||
|
||||
build-python: setup-python ## Build the Python bindings
|
||||
PATH=$(PWD)/bin:$(PATH) \
|
||||
VIRTUAL_ENV=$(GLEAN_PYENV) \
|
||||
$(GLEAN_PYENV)/bin/maturin develop
|
||||
|
||||
build-python-wheel: setup-python ## Build a Python wheel
|
||||
PATH=$(PWD)/bin:$(PATH) \
|
||||
VIRTUAL_ENV=$(GLEAN_PYENV) \
|
||||
$(GLEAN_PYENV)/bin/maturin build --release $(MATURIN_FLAG)
|
||||
|
||||
build-python-sdist: setup-python ## Build a Python source distribution
|
||||
PATH=$(PWD)/bin:$(PATH) \
|
||||
VIRTUAL_ENV=$(GLEAN_PYENV) \
|
||||
$(GLEAN_PYENV)/bin/maturin build --release --sdist $(MATURIN_FLAG)
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a host tool. Do not listen to the build target.
|
||||
unset CARGO_BUILD_TARGET
|
||||
|
||||
exec cargo run --package uniffi-bindgen -- $*
|
Загрузка…
Ссылка в новой задаче