-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python, python3: ship packages with byte-codes and derive python source packages #4130
Commits on Mar 9, 2017
-
python,python3: fix goof with multiline command break
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 17da988 - Browse repository at this point
Copy the full SHA 17da988View commit details -
python: move filespec shell code into file
Cleanup. And preparation for adding a bit more functionality. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 06c91a7 - Browse repository at this point
Copy the full SHA 06c91a7View commit details -
python3: move filespec shell code into file
Same as for python. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5d502e8 - Browse repository at this point
Copy the full SHA 5d502e8View commit details -
python,python3: move PyPackage install rules in the beggining of the …
…Package install rules So that we can process Python sources installed by those rules, if we need to. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for df0d0bc - Browse repository at this point
Copy the full SHA df0d0bcView commit details -
python: fix python-dev clash with python-base
Both want to install libpython.so. python-dev should install libpython.a Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6c4dcf4 - Browse repository at this point
Copy the full SHA 6c4dcf4View commit details -
python3: make sure $(1)/usr/lib path exists for python3-dev package
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a85b0b6 - Browse repository at this point
Copy the full SHA a85b0b6View commit details -
python,python3: drop tests from all core packages
Well, this slipped by for some time. This should make the Python core packages even more lighter. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 92073b0 - Browse repository at this point
Copy the full SHA 92073b0View commit details -
python,python3: drop remove .pyc & .pyo files
We'll control in the install phase what we ship [byte-codes or source files] Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 05f8d6e - Browse repository at this point
Copy the full SHA 05f8d6eView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 20685f5 - Browse repository at this point
Copy the full SHA 20685f5View commit details -
python3: split source packages away from compiled packages
Same as for python. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ae350d9 - Browse repository at this point
Copy the full SHA ae350d9View commit details -
python,python3: bump PKG_RELEASEs
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9f7235e - Browse repository at this point
Copy the full SHA 9f7235eView commit details