Unbundle of all external modules.

Move all libraries in external into subfolders and place a custom
__init__.py into each of them. This way the system installed ones are
tried first, before falling back to the bundled ones.

Now every distribution can properly depend on the upstream library.
(e.g. bundled libraries are not allowed in fedora)

Signed-off-by: Toshio Ernie Kuratomi <toshio@fedoraproject.org>
Signed-off-by: Thomas Spura <tomspur@fedoraproject.org>
This commit is contained in:
Thomas Spura 2010-06-19 20:46:05 +02:00
parent 66e0d22bec
commit 3ea19b0740

View File

@ -108,6 +108,18 @@ def find_packages():
add_package(packages, 'deathrow', tests=True) add_package(packages, 'deathrow', tests=True)
add_package(packages, 'extensions') add_package(packages, 'extensions')
add_package(packages, 'external') add_package(packages, 'external')
add_package(packages, 'external.argparse')
add_package(packages, 'external.configobj')
add_package(packages, 'external.decorator')
add_package(packages, 'external.decorators')
add_package(packages, 'external.guid')
add_package(packages, 'external.Itpl')
add_package(packages, 'external.mglob')
add_package(packages, 'external.path')
add_package(packages, 'external.pretty')
add_package(packages, 'external.pyparsing')
add_package(packages, 'external.simplegeneric')
add_package(packages, 'external.validate')
add_package(packages, 'frontend') add_package(packages, 'frontend')
add_package(packages, 'frontend.qt') add_package(packages, 'frontend.qt')
add_package(packages, 'frontend.qt.console', tests=True) add_package(packages, 'frontend.qt.console', tests=True)