diff --git a/pyogp/lib/base/api.py b/pyogp/lib/base/api.py index e78ae9d..50db76a 100644 --- a/pyogp/lib/base/api.py +++ b/pyogp/lib/base/api.py @@ -51,7 +51,8 @@ def place_avatar(agent, region_url): and this in turn the region details: >>> avatar.region.details - {'sim_port': 12345, 'sim_ip': '127.0.0.1'} + {'sim_port': 12345, 'seed_capability': '/region_seed_cap', 'sim_ip': '127.0.0.1'} + """ place = IPlaceAvatar(agent.agentdomain) @@ -73,4 +74,4 @@ def run_loop(avatar): """ - \ No newline at end of file + diff --git a/pyogp/lib/base/tests/base.py b/pyogp/lib/base/tests/base.py index ca3c7e2..0394d33 100644 --- a/pyogp/lib/base/tests/base.py +++ b/pyogp/lib/base/tests/base.py @@ -73,7 +73,8 @@ class AgentDomain(object): """place the avatar in a dummy way""" url = data.get("region_url",'') d={'sim_ip':'127.0.0.1', - 'sim_port' : 12345} + 'sim_port' : 12345, + 'seed_capability': '/region_seed_cap'} data = llsd.format_xml(d) self.response.status=200 self.response.content_type='application/llsd+xml' diff --git a/setup.py b/setup.py index f708a44..12b3ac3 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,8 @@ setup(name='pyogp.lib.base', 'zope.interface>=3.4', 'zope.component [zcml]', 'WebOb', + 'uuid', + 'indra.base', 'wsgiref', 'grokcore.component',