mirror of https://github.com/pyodide/pyodide.git
Remove unnecessary parts of matplotlib
This commit is contained in:
parent
360bd1d687
commit
732ca50b13
|
@ -83,7 +83,14 @@ $(HOSTBUILD)/lib.$(PLATFORMSLUG)/matplotlib/__init__.py: $(ROOT)/.patched
|
||||||
$(BUILD)/__init__.py: $(HOSTBUILD)/lib.$(PLATFORMSLUG)/matplotlib/__init__.py
|
$(BUILD)/__init__.py: $(HOSTBUILD)/lib.$(PLATFORMSLUG)/matplotlib/__init__.py
|
||||||
[ -d $(ROOT)/build ] || mkdir $(ROOT)/build
|
[ -d $(ROOT)/build ] || mkdir $(ROOT)/build
|
||||||
cp -r $(HOSTBUILD)/lib.$(PLATFORMSLUG)/matplotlib $(ROOT)/build && \
|
cp -r $(HOSTBUILD)/lib.$(PLATFORMSLUG)/matplotlib $(ROOT)/build && \
|
||||||
cd $(BUILD); find . -name "*.so" -type f -delete
|
( \
|
||||||
|
cd $(BUILD); \
|
||||||
|
find . -name "*.so" -type f -delete; \
|
||||||
|
find backends -type f ! -name "*_agg*" ! -name '__init__.py' -delete; \
|
||||||
|
rm -rf backends/qt_editor; \
|
||||||
|
rm -rf backends/web_backend; \
|
||||||
|
rm -rf sphinxext; \
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
$(ROOT)/.patched: $(HOSTDIR)/setup.py
|
$(ROOT)/.patched: $(HOSTDIR)/setup.py
|
||||||
|
|
Loading…
Reference in New Issue