mirror of
https://github.com/instant-labs/instant-segment.git
synced 2025-01-19 15:29:05 +00:00
11 lines
253 B
Makefile
11 lines
253 B
Makefile
ifeq ($(shell uname), Darwin)
|
|
PY_EXT := dylib
|
|
else
|
|
PY_EXT := so
|
|
endif
|
|
|
|
test-python:
|
|
cargo build --release
|
|
cp target/release/libinstant_segment.$(PY_EXT) instant-segment-py/test/instant_segment.so
|
|
PYTHONPATH=instant-segment-py/test/ python3 -m test
|