mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			81 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			81 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # 
 | |
| # AUTHOR <EMAIL@ADDRESS>, YEAR.
 | |
| #
 | |
| 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 ""
 | |
| 
 |