| #Licensed to the Apache Software Foundation (ASF) under one |
| #or more contributor license agreements. See the NOTICE file |
| #distributed with this work for additional information |
| #regarding copyright ownership. The ASF licenses this file |
| #to you under the Apache License, Version 2.0 (the |
| #"License"); you may not use this file except in compliance |
| #with the License. You may obtain a copy of the License at |
| #http://www.apache.org/licenses/LICENSE-2.0 |
| #Unless required by applicable law or agreed to in writing, |
| #software distributed under the License is distributed on an |
| #"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| #KIND, either express or implied. See the License for the |
| #specific language governing permissions and limitations |
| #under the License. |
| msgid "" |
| msgstr "" |
| "Project-Id-Version: 0\n" |
| "POT-Creation-Date: 2013-02-02T20:11:57\n" |
| "PO-Revision-Date: 2013-02-02T20:11:57\n" |
| "Last-Translator: Automatically generated\n" |
| "Language-Team: None\n" |
| "MIME-Version: 1.0\n" |
| "Content-Type: application/x-publican; charset=UTF-8\n" |
| "Content-Transfer-Encoding: 8bit\n" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Building and Installing Marvin" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "Marvin is built with Maven and is dependent on APIdoc. To build it do the following in the root tree of &PRODUCT;:" |
| msgstr "" |
| |
| #. Tag: programlisting |
| #, no-c-format |
| msgid "mvn -P developer -l :cloud-apidoc" |
| msgstr "" |
| |
| #. Tag: programlisting |
| #, no-c-format |
| msgid "mvn -P developer -l :cloud-marvin" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "If successfull the build will have created the cloudstackAPI Python package under tools/marvin/marvin/cloudstackAPI as well as a gziped Marvin package under tools/marvin dist. To install the Python Marvin module do the following in tools/marvin:" |
| msgstr "" |
| |
| #. Tag: programlisting |
| #, no-c-format |
| msgid "sudo python ./setup.py install" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "The dependencies will be downloaded the Python module installed and you should be able to use Marvin in Python. Check that you can import the module before starting to use it." |
| msgstr "" |
| |
| #. Tag: programlisting |
| #, no-c-format |
| msgid "$ python\n" |
| "Python 2.7.3 (default, Nov 17 2012, 19:54:34) \n" |
| "[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin\n" |
| "Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n" |
| ">>> import marvin\n" |
| ">>> from marvin.cloudstackAPI import *\n" |
| ">>> " |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "You could also install it using <emphasis>pip</emphasis> or <emphasis>easy_install</emphasis> using the local distribution package in tools/marvin/dist :" |
| msgstr "" |
| |
| #. Tag: programlisting |
| #, no-c-format |
| msgid "pip install tools/marvin/dist/Marvin-0.1.0.tar.gz" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "Or:" |
| msgstr "" |
| |
| #. Tag: programlisting |
| #, no-c-format |
| msgid "easy_install tools/marvin/dist/Marvin-0.1.0.tar.gz" |
| msgstr "" |
| |