packages/lang/python/files
Alexandru Ardelean 20685f5220 python: split source packages away from compiled packages
Well, they're not yet compiled, but in the next commit
they should be.

People have been complaining [citation needed] to me
via email or via Github that Python's performance is crap
because it packages sources directly and they're not compiled.
And Python has to compile the sources on each run, and
on-the-fly.

Allowing compilation caching is also a no-no, because
I'll get complaints that the flash storage fills up
whenever a Python app runs.

So, to give the user a choice, the new de-facto packaging
for Python packages will be:
* ship compiled + [ preferably ] optimized files
* package sources separately

The problem is that this doubles the number of packages
in LEDE/OpenWrt, but build-times should not suffer a big
hit, since the compilation is done once, and the
install phase should not be too intensive.

Oh, and people don't need ship source packages if
they don't want to.
To do that, a packager needs to just call
`$(eval $(call BuildPackage,python-<package>-src))`

The `python-` prefix is important.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-03-09 18:43:41 +02:00
..
config.site python: add ac_cv_buggy_getaddrinfo=no to config.site file 2014-10-17 16:39:26 +03:00
pip.conf python,python3: add python-pip-conf package to be used by both python-pip & python3-pip 2017-01-23 11:59:50 +02:00
python-host.mk Merge pull request #3813 from NeoRaider/hostpkg 2017-01-11 21:54:09 +01:00
python-package-codecs.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-compiler.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-ctypes.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-db.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-decimal.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-dev.mk python: fix python-dev clash with python-base 2017-03-09 09:23:10 +02:00
python-package-distutils.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-email.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-gdbm.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-install.sh python: split source packages away from compiled packages 2017-03-09 18:43:41 +02:00
python-package-lib2to3.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-logging.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-multiprocessing.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-ncurses.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-openssl.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-pip.mk python,python3: override python setuptools & pip versions 2017-02-09 16:31:16 +02:00
python-package-pydoc.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-setuptools.mk python,python3: override python setuptools & pip versions 2017-02-09 16:31:16 +02:00
python-package-sqlite3.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-unittest.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package-xml.mk python: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST) 2016-04-14 11:56:21 +03:00
python-package.mk python: split source packages away from compiled packages 2017-03-09 18:43:41 +02:00
python-version.mk python,python3: override python setuptools & pip versions 2017-02-09 16:31:16 +02:00