mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Detail: Integration tests use these libraries (base,utils,common) for simplifying the usage of the API. These define the verbs of each entity's usage (create, delete, add etc). For the CLI to present the simplified API we'll leverage the integration libraries. + Fixes to setup-test-data.sh - kvm and xen each use a different version of the built-in Cent OS template, 5.5 and 5.3 namely. At a later point the setup-test-data script needs to be obsoleted. ostypeids in tests should directly be determined from listOsTypes API calls Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1351520707 +0530
48 lines
1.8 KiB
Python
48 lines
1.8 KiB
Python
#!/usr/bin/env python
|
|
# 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.
|
|
|
|
from setuptools import setup
|
|
from sys import version
|
|
import sys
|
|
|
|
if version < "2.7":
|
|
print "Marvin needs at least python 2.7, found : \n%s"%version
|
|
sys.exit(1)
|
|
|
|
setup(name="Marvin",
|
|
version="0.1.0",
|
|
description="Marvin - Python client for testing cloudstack",
|
|
author="Edison Su",
|
|
author_email="Edison.Su@citrix.com",
|
|
maintainer="Prasanna Santhanam",
|
|
maintainer_email="Prasanna.Santhanam@citrix.com",
|
|
long_description="Marvin is the cloudstack testclient written around the python unittest framework",
|
|
platforms=("Any",),
|
|
url="http://jenkins.cloudstack.org:8080/job/marvin",
|
|
packages=["marvin", "marvin.cloudstackAPI", "marvin.integration",
|
|
"marvin.integration.lib", "marvin.sandbox",
|
|
"marvin.sandbox.advanced", "marvin.sandbox.basic"],
|
|
license="LICENSE.txt",
|
|
install_requires=[
|
|
"mysql-connector-python",
|
|
"paramiko",
|
|
"nose",
|
|
"unittest-xml-reporting"
|
|
],
|
|
)
|