mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 14:44:36 +04:00
python: refine packaging and split more modules into packages
Rule of thumb is: any Python file that is greater than 100kb (or adds a dependency with which it adds more than 100 kb) should be a pretty useful/commonly used lib to stay in `python-light`. An example, is the Python IO lib, which summarized (Python source + binary module) is over 200kb. Also moved some files that should have been put into previously existing packages before, and re-organized the packages a bit. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -12,6 +12,7 @@ $(call Package/python/Default)
|
||||
endef
|
||||
|
||||
$(eval $(call PyBasePackage,python-pydoc, \
|
||||
/usr/lib/python$(PYTHON_VERSION)/doctest.py \
|
||||
/usr/lib/python$(PYTHON_VERSION)/pydoc.py \
|
||||
/usr/lib/python$(PYTHON_VERSION)/pydoc_data \
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user