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:
mirko 2009-01-07 11:11:01 +00:00
parent 3b6c2efb1c
commit 3172b751be

View File

@ -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