prevent packaging precompiled python files (*.pyc, *.pyo)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13921 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3b6c2efb1c
commit
3172b751be
@ -56,6 +56,7 @@ define Build/Compile/PyMod
|
||||
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
$(3) \
|
||||
$(PYTHON) ./setup.py $(2) \
|
||||
$(PYTHON) ./setup.py $(2); \
|
||||
find $(PKG_INSTALL_DIR) -name "*\.pyc" -o -name "*\.pyo" | xargs rm -f \
|
||||
);
|
||||
endef
|
||||
|
Loading…
x
Reference in New Issue
Block a user