Commit Graph

4 Commits

Author SHA1 Message Date
Derek Straka
9d9a616a39 Update python recipes to use the common pypi package
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:48 +01:00
MiLo
60e962d5c4 python-twisted: Create a separate source code package and bin package
Python-twisted installs about 1MB of ".py" files that are not actually
being used for anything. To save on flash space on devices, move the
source code into its own package.

This modification has been in use for several years in the OpenPLi project,
which heavily leans on twisted for the GUI and web interfaces, and did not
cause any problems.

Move the /usr/bin/ scripts into their own package as well. Installing
python-twisted will still install these scripts.

Signed-off-by: Mike Looijmans <milo-software@users.sourceforge.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:31:53 +01:00
MiLo
10a4835377 python-twisted: Fix dependencies of twisted modules
When installing just "twisted-web" on a device, none of the dependencies
are being copied, it wouldn't even install python-core. Fix the recipe so
that its packages have proper dependencies, and no longer require to install
the empty python-twisted meta recipe.

Add "python-contextlib" to the core dependencies and stop causing systems
to crash with:
  File "/usr/lib/python2.7/site-packages/twisted/python/threadpool.py", line 18, in <module>
    ImportError: No module named contextlib

Signed-off-by: Mike Looijmans <milo-software@users.sourceforge.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:31:53 +01:00
Martin Jansa
d22f4ca2e3 meta-python: rename recipes-python to recipes-devtools
* match old structure from meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-30 12:49:45 +02:00