133: Renamed run.py to api.py

This commit is contained in:
Jason Gerard DeRose
2008-08-13 01:26:30 +00:00
parent 66bbe8bf2f
commit c0b5069fa0
4 changed files with 8 additions and 6 deletions

2
ipa
View File

@@ -26,7 +26,7 @@ Just proof of concept stuff in here right now.
"""
import sys
from ipalib.run import api
from ipalib.api import api
from ipalib.cli import CLI
import ipalib.load_plugins

View File

@@ -18,8 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
Standard run-time instances of importard classes. This is where plugins
should access the registration API.
Standard instances of plugable.API and its subclasses.
"""
import public

View File

@@ -20,8 +20,11 @@
"""
Importing this module causes the plugins to be loaded.
This is not in __init__.py so that importing other ipalib or its other
modules does not cause unnecessary side effects.
This is not in __init__.py so that importing ipalib or its other sub-modules
does not cause unnecessary side effects.
Eventually this will also load the out-of tree plugins, but for now it just
loads the internal plugins.
"""
import plugins

View File

@@ -23,7 +23,7 @@ Some example plugins.
from ipalib import public
from ipalib.run import api
from ipalib.api import api
# Hypothetical functional commands (not associated with any object):