2011-04-20 15:27:18 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
##############################################################################
|
|
|
|
#
|
|
|
|
# OpenERP, Open Source Management Solution
|
|
|
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
|
|
|
# Copyright (C) 2010-2011 OpenERP s.a. (<http://openerp.com>).
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Affero General Public License as
|
|
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
|
|
# License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Affero General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
""" Modules (also called addons) management.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
2011-05-11 14:47:54 +00:00
|
|
|
import openerp.modules.db
|
2011-05-11 15:28:10 +00:00
|
|
|
import openerp.modules.graph
|
2011-05-11 17:48:41 +00:00
|
|
|
import openerp.modules.loading
|
2011-05-11 16:41:44 +00:00
|
|
|
import openerp.modules.migration
|
2011-05-11 17:48:41 +00:00
|
|
|
import openerp.modules.module
|
2011-05-11 14:47:54 +00:00
|
|
|
|
2011-05-11 17:48:41 +00:00
|
|
|
# TODO temporarily expose those things
|
2011-05-11 17:24:48 +00:00
|
|
|
from openerp.modules.module import \
|
|
|
|
get_modules, get_modules_with_version, \
|
|
|
|
load_information_from_description_file, \
|
|
|
|
get_module_resource, zip_directory, \
|
|
|
|
get_module_path, initialize_sys_path, \
|
2012-02-09 15:27:32 +00:00
|
|
|
load_openerp_module, init_module_models
|
2011-04-20 15:27:18 +00:00
|
|
|
|
2011-05-11 17:48:41 +00:00
|
|
|
from openerp.modules.loading import load_modules
|
2011-04-20 15:27:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|